Skip to content
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

Weather Agent Sample: Only include tool_call_id to chatbot.append if it's set #771

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

chug2k
Copy link
Contributor

@chug2k chug2k commented Jan 25, 2025

In my testing with VertexAI Google, I never seem to get a tool_call_id, which breaks the sample.

Google seems to not return a tool_call_id, which breaks the sample.
linter disliked that fancy one liner, so adding a more explicitly readable version here.
@chug2k chug2k changed the title Only include tool_call_id if it's set Weather Agent Sample: Only include tool_call_id to chatbot.append if it's set Jan 25, 2025
Copy link
Member

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

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

Thanks!

@sydney-runkle
Copy link
Member

Can you please run make lint / make format to fix the linting issues? Thanks!

@sydney-runkle
Copy link
Member

cc @chug2k

@github-actions github-actions bot temporarily deployed to deploy-preview February 3, 2025 19:12 Inactive
@sydney-runkle sydney-runkle merged commit fa1625d into pydantic:main Feb 3, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants