-
Notifications
You must be signed in to change notification settings - Fork 1
Fix Python tracing examples and add async guidance #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughDocumentation updates replace async span context managers with synchronous ones in Python examples, expand tracing guides with new sections and patterns, adjust error-handling examples, and update a Python project structure path from agents/ to agentuity_agents/. API reference examples are aligned to the synchronous span usage. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant App
participant Tracer
participant Span
participant AsyncTask as Async Operation
Client->>App: Handle request
App->>Tracer: start_as_current_span("process-data")
activate Tracer
Tracer-->>App: returns Span (sync context)
deactivate Tracer
rect rgba(200,235,255,0.3)
note over App,Span: Synchronous with-block owns span lifecycle
App->>Span: set_attribute / add_event
App->>AsyncTask: await do_work()
AsyncTask-->>App: result / error
App->>Span: record_exception (on error)
end
App-->>Span: exit with-block (closes span)
App-->>Client: Response
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)content/SDKs/**📄 CodeRabbit inference engine (.cursor/rules/overview.mdc)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | fa47599 | Sep 24 2025, 11:46 PM |
Summary by CodeRabbit