Skip to content

Conversation

@areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Adds a new example o3_responses_example.py to examples/openai. This example demonstrates AgentOps integration with OpenAI's o3 model using the responses API and tool calls, simplified from the original Pokémon battle script to focus on core functionality. The examples/openai/README.md has been updated to include this new example.

🧪 Testing
The example can be run directly via python examples/openai/o3_responses_example.py. It includes agentops.validate_trace_spans to verify AgentOps tracing and span capture for o3 model interactions and tool calls.

@codecov
Copy link

codecov bot commented Jul 17, 2025

Codecov Report

Attention: Patch coverage is 4.26230% with 292 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...instrumentation/providers/openai/stream_wrapper.py 1.73% 170 Missing ⚠️
...rumentation/providers/openai/wrappers/responses.py 6.87% 122 Missing ⚠️

📢 Thoughts on this report? Let us know!

@areibman areibman force-pushed the cursor/create-openai-responses-api-test-2ab3 branch from 7993c92 to 034525b Compare July 17, 2025 20:44
@areibman areibman merged commit 7992427 into main Jul 17, 2025
36 of 47 checks passed
@areibman areibman deleted the cursor/create-openai-responses-api-test-2ab3 branch July 17, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants