mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: ollama + azureai openapi samples fix (#1244)
* ollama + azureai openapi samples fix * small fix
This commit is contained in:
committed by
GitHub
Unverified
parent
d01d9afb92
commit
1d27b57672
@@ -898,6 +898,8 @@ class AzureAIAgentClient(BaseChatClient):
|
||||
filter=additional_props.get("filter", ""),
|
||||
)
|
||||
tool_definitions.extend(ai_search.definitions)
|
||||
case ToolDefinition():
|
||||
tool_definitions.append(tool)
|
||||
case dict():
|
||||
tool_definitions.append(tool)
|
||||
case _:
|
||||
|
||||
Reference in New Issue
Block a user