We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8562231 commit c16b572Copy full SHA for c16b572
agents-api/agents_api/routers/sessions/chat.py
@@ -184,7 +184,9 @@ async def chat(
184
k: v
185
for k, v in function.model_dump().items()
186
if k not in ["name", "type"]
187
- },
+ }
188
+ if function is not None
189
+ else {},
190
},
191
}
192
formatted_tools.append(tool)
0 commit comments