Skip to content

Examples: Update latestAgent before displaying #270

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

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

Conversation

mattbobambrose
Copy link

You need to update the latestAgent from the latest result before displaying it in the console

You need to update the latestAgent from the latest result before displaying it in the console
Copy link

changeset-bot bot commented Jul 29, 2025

⚠️ No Changeset found

Latest commit: 8a74063

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mattbobambrose
Copy link
Author

I realized that my edit was based on a question asking for multiple tool calls at once, and doesn't reflect behavior for a single tool call. The problem is that the input "What's the weather in Dallas and Danville?" gets a different behavior from "What's the weather in Dallas?" Multiple cities result in multiple tool calls being made, while a single city waits for additional interaction to make a tool call, whether that interaction is more text or another tool call. My update is correct for multiple cities, but not for a single city. The existing code is correct for a single city, but not multiple cities.

@seratch seratch changed the title Update latestAgent before displaying Examples" Update latestAgent before displaying Jul 29, 2025
@seratch seratch changed the title Examples" Update latestAgent before displaying Examples: Update latestAgent before displaying Jul 29, 2025
@seratch seratch added the documentation Improvements or additions to documentation label Jul 29, 2025
Copy link
Contributor

github-actions bot commented Aug 9, 2025

This PR is stale because it has been open for 10 days with no activity.

@github-actions github-actions bot added the stale label Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants