Skip to content

Commit c327edd

Browse files
committed
Update foundry_agent.py
1 parent 541f8cd commit c327edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/v4/magentic_agents/foundry_agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ async def _after_open(self) -> None:
235235

236236
# In Azure Search raw tool path, tools/tool_choice are handled server-side.
237237
self._agent = ChatAgent(
238-
chat_client=chat_client,
238+
chat_client=self.get_chat_client(chatClient),
239239
instructions=self.agent_instructions,
240240
name=self.agent_name,
241241
description=self.agent_description,
242242
tool_choice="required", # Force usage
243-
temperature=0.7,
243+
temperature=1.0,
244244
model_id=self.model_deployment_name,
245245
)
246246
else:

0 commit comments

Comments
 (0)