Skip to content

[Examples] Improve bootstrapping and logging in examples #160

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chr-hertel
Copy link
Contributor

@chr-hertel chr-hertel commented Jul 18, 2025

Q A
Bug fix? no
New feature? yes
Docs? no
Issues
License MIT

Brings to things:

  • Easier bootstrapping and env var checks
  • Enables logging of HTTP calls with -vv or tool calls with -vvv

Sometimes I'd like to see more details of the execution of an example. This would be possible now:
image

What do you think? does it make the examples too complex to read & write - or helpful?

(only a draft, would roll that out to all examples if feedback is positive)

@chr-hertel chr-hertel added the Examples Issues & PRs about the example scripts label Jul 18, 2025
@chr-hertel chr-hertel force-pushed the example-logging-bootstrapping branch from 5a4ee57 to fd014f3 Compare July 19, 2025 00:23
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be a separate PR maybe ...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@OskarStark
Copy link
Contributor

I like it very much, it makes the examples less verbose 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Examples Issues & PRs about the example scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants