Skip to content

Commit 2e2dc8f

Browse files
Merge branch 'webb/openai-agents/execute-final-output' into webb/openai-agents/tox-update
2 parents 7552569 + e94acfa commit 2e2dc8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/openai_agents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class OpenAIAgentsIntegration(Integration):
7979
- A Model instance is created at the start of the loop by calling the `Runner._get_model()`. We patch the Model instance using `patches._get_model()`.
8080
- Available tools are also deteremined at the start of the loop, with `Runner._get_all_tools()`. We patch Tool instances by iterating through the returned tools in `patches._get_all_tools()`.
8181
- In each loop iteration, `run_single_turn()` or `run_single_turn_streamed()` is responsible for calling the Responses API, patched with `patches._run_single_turn()` and `patches._run_single_turn_streamed()`.
82-
4. On loop termination, `RunImpl.execute_final_output()` is called. The function is patched with `patched_execute_final_output()`.
82+
4. On loop termination, `RunImpl.execute_final_output()` is called. The function is patched with `patches._execute_final_output()`.
8383
8484
Local tools are run based on the return value from the Responses API as a post-API call step in the above loop.
8585
Hosted MCP Tools are run as part of the Responses API call, and involve OpenAI reaching out to an external MCP server.

0 commit comments

Comments
 (0)