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

Fixed duplicate call bug in Anthropic stream apis #2005

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

Conversation

Claudio-code
Copy link
Contributor

@Claudio-code Claudio-code commented Dec 24, 2024

Thank you for taking time to contribute this pull request!
You might have already read the [contributor guide][1], but as a reminder, please make sure to:

issue #1370

I fixed the duplicate call by passing the id of the previous response and using it to validate the next call, but the root cause was not identified and the loop continues to execute twice.

Adjusted test do validate correction streamFunctionCallUsageTest

  • Sign the contributor license agreement
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

@Claudio-code
Copy link
Contributor Author

is that only the switchMap section is executed twice, not the entire method

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.

1 participant