-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: allow custom clientInfo when connecting to mcp servers #3572
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
base: main
Are you sure you want to change the base?
Conversation
…s-in-test_mcp.py
|
@DouweM I just updated the PR as discussed and fixed CI failures - should be pretty clean now! |
| agent = Agent('openai:gpt-5', toolsets=[server]) | ||
|
|
||
|
|
||
| async def main(): | ||
| result = await agent.run('How many days between 2000-01-01 and 2025-03-18?') | ||
| print(result.output) | ||
| #> There are 9,208 days between January 1, 2000, and March 18, 2025. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove these lines from the example as they don't add much
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can't be removed because the doc test case requires it
|
@DouweM ready for another look! :) |
Fixes #3562.