You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, a module named aisuite is imported and renamed ai. Errors may occur here. If the aisuite module is not installed correctly, Python will throw a ModuleNotFoundError. You need to make sure that the module and its dependencies have been installed through PIPIPInstall or other suitable installation methods.
yusefes
added a commit
to yusefes/aisuite
that referenced
this issue
Nov 29, 2024
Fixesandrewyng#103
Add support for streaming responses in the Anthropic provider.
* Handle the `stream` parameter in the `chat_completions_create` method in `aisuite/providers/anthropic_provider.py`.
* Use `handle_streaming_response` method to process streaming responses.
* Add a test case for the `stream` parameter in `tests/client/test_client.py`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/andrewyng/aisuite/issues/103?shareId=XXXX-XXXX-XXXX-XXXX).
The following error occurs
The text was updated successfully, but these errors were encountered: