Skip to content

fix(docs): add explicit shutdown to quickstart example#149

Merged
namrataghadi-galileo merged 1 commit intomainfrom
abhi/quickstart-explicit-shutdown
Mar 26, 2026
Merged

fix(docs): add explicit shutdown to quickstart example#149
namrataghadi-galileo merged 1 commit intomainfrom
abhi/quickstart-explicit-shutdown

Conversation

@abhinav-galileo
Copy link
Collaborator

Summary

  • update the README quickstart async example to call agent_control.ashutdown() in a finally block
  • wrap the snippet with an if __name__ == "__main__": guard
  • add a short note explaining that short-lived scripts should explicitly shut down so observability events flush before exit

Testing

  • make check
  • git push -u origin abhi/quickstart-explicit-shutdown (pre-push hook: lint, typecheck, contrib evaluator checks)

@abhinav-galileo abhinav-galileo changed the title docs: add explicit shutdown to quickstart example fix(docs): add explicit shutdown to quickstart example Mar 26, 2026
@codecov
Copy link

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@namrataghadi-galileo namrataghadi-galileo merged commit b76014f into main Mar 26, 2026
6 of 7 checks passed
@namrataghadi-galileo namrataghadi-galileo deleted the abhi/quickstart-explicit-shutdown branch March 26, 2026 17:33
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.

2 participants