removed temperature from agents and copilot

This commit is contained in:
arkml 2025-06-03 11:56:06 +05:30
parent d751a1f6cd
commit e1ba685e3b
3 changed files with 8 additions and 11 deletions

View file

@ -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"}
) )

View file

@ -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
) )

View file

@ -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