mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-04 04:42:37 +02:00
removed temperature from agents and copilot
This commit is contained in:
parent
d751a1f6cd
commit
e1ba685e3b
3 changed files with 8 additions and 11 deletions
|
|
@ -98,7 +98,6 @@ User: {last_message.content}
|
||||||
response = completions_client.chat.completions.create(
|
response = completions_client.chat.completions.create(
|
||||||
model=PROVIDER_COPILOT_MODEL,
|
model=PROVIDER_COPILOT_MODEL,
|
||||||
messages=updated_msgs,
|
messages=updated_msgs,
|
||||||
temperature=0.0,
|
|
||||||
response_format={"type": "json_object"}
|
response_format={"type": "json_object"}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,6 @@ User: {last_message.content}
|
||||||
return completions_client.chat.completions.create(
|
return completions_client.chat.completions.create(
|
||||||
model=PROVIDER_COPILOT_MODEL,
|
model=PROVIDER_COPILOT_MODEL,
|
||||||
messages=updated_msgs,
|
messages=updated_msgs,
|
||||||
temperature=0.0,
|
|
||||||
stream=True
|
stream=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -256,8 +256,7 @@ def get_agents(agent_configs, tool_configs, complete_request):
|
||||||
instructions=agent_instructions,
|
instructions=agent_instructions,
|
||||||
handoff_description=agent_config["description"],
|
handoff_description=agent_config["description"],
|
||||||
tools=new_tools,
|
tools=new_tools,
|
||||||
model = model,
|
model = model
|
||||||
model_settings=ModelSettings(temperature=0.0)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Set the max calls per parent agent
|
# Set the max calls per parent agent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue