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 60091e9 commit a0169dcCopy full SHA for a0169dc
azure/durable_functions/openai_agents/model_invocation_activity.py
@@ -365,7 +365,9 @@ def make_tool_info(tool: Tool) -> ToolInput:
365
self.activity_name, activity_input_json
366
)
367
368
- return response
+ json_response = json.loads(response)
369
+ model_response = ModelResponse(**json_response)
370
+ return model_response
371
372
def stream_response(
373
self,
0 commit comments