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

Fix fireworks chat async streaming #18543

Closed

Conversation

tjaffri
Copy link
Contributor

@tjaffri tjaffri commented Mar 5, 2024

Async streaming for fireworks chat seemed to have a typo, fixed in this PR (L259 of fireworks.py)

As part of this, I realized that a lot of integration tests for fireworks were failing... probably not being run regularly? This particular issue was causing one of those tests to fail too and that issue is resolved.

The other tests were failing due to incorrectly expecting stop words to be included in the output as the last char... this is not the right expectation and the tests are now all passing.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Ɑ: models Related to LLMs or chat model modules 🔌: fireworks Primarily related to Fireworks AI model intergrations labels Mar 5, 2024
Copy link

vercel bot commented Mar 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 5, 2024 0:49am

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Mar 5, 2024
@efriis
Copy link
Member

efriis commented Mar 5, 2024

cc @benjibc

@efriis
Copy link
Member

efriis commented Mar 5, 2024

Oh actually I take it back - this is the deprecated community implementations (on me not Benny for not properly marking these as deprecated).

@tjaffri I think you're using a deprecated version of fireworks. Could you switch to the integration package one instead? I'll add the deprecated decorators to this implementation.

https://python.langchain.com/docs/integrations/providers/fireworks

@tjaffri
Copy link
Contributor Author

tjaffri commented Mar 5, 2024

OK, moving to the partner package... thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature 🔌: fireworks Primarily related to Fireworks AI model intergrations Ɑ: models Related to LLMs or chat model modules size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants