Skip to content

refactor: Remove fetch_client dependency in favor of http v1.3.0 #659

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

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

davidmigloz
Copy link
Owner

@davidmigloz davidmigloz commented Feb 27, 2025

Previously, our clients relied on the fetch_client package for web to support streaming responses. This was necessary because the official http package used XHR, which lacked streaming capabilities.

With the release of http v1.3.0, the browser_client.dart has been updated to utilize the Fetch API, enabling native support for streaming responses. As a result, the use of the third-party fetch_client is no longer required.

@davidmigloz davidmigloz self-assigned this Feb 27, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in LangChain.dart Feb 27, 2025
@davidmigloz davidmigloz added t:enhancement New feature or request p:chromadb chromadb package. p:openai_dart openai_dart package. p:ollama_dart ollama_dart package. p:mistralai_dart mistralai_dart package. p:googleai_dart googleai_dart package. p:anthropic_sdk_dart anthropic_sdk_dart package. p:tavily_dart tavily_dart package. labels Feb 27, 2025
@davidmigloz davidmigloz added this to the Next release milestone Feb 27, 2025
@davidmigloz davidmigloz merged commit 0e0a685 into main Feb 27, 2025
3 checks passed
@davidmigloz davidmigloz deleted the fetch_client branch February 27, 2025 16:58
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in LangChain.dart Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:anthropic_sdk_dart anthropic_sdk_dart package. p:chromadb chromadb package. p:googleai_dart googleai_dart package. p:mistralai_dart mistralai_dart package. p:ollama_dart ollama_dart package. p:openai_dart openai_dart package. p:tavily_dart tavily_dart package. t:enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant