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

feat(ollama): Add support for optional headers #7052

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

cr4yfish
Copy link
Contributor

Summary

Adding optional HTTP Headers to ChatOllama, after they were added to ollama in v0.5.6.

Fixes #6631

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 23, 2024
Copy link

vercel bot commented Oct 23, 2024

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

Name Status Preview Comments Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview Oct 29, 2024 6:50pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) Oct 29, 2024 6:50pm

@dosubot dosubot bot added the auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs label Oct 23, 2024
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Oct 29, 2024
@jacoblee93 jacoblee93 changed the title chat ollama[minor] optional headers feat(ollama): Add support for optional headers Oct 29, 2024
@jacoblee93
Copy link
Collaborator

Thank you!

@dosubot dosubot bot added the lgtm PRs that are ready to be merged as-is label Oct 29, 2024
@jacoblee93 jacoblee93 merged commit a68361b into langchain-ai:main Oct 29, 2024
24 checks passed
FilipZmijewski pushed a commit to FilipZmijewski/langchainjs that referenced this pull request Oct 31, 2024
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
aditishree1 pushed a commit to aditishree1/langchainjs that referenced this pull request Nov 1, 2024
Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
@cr4yfish cr4yfish deleted the chat-ollama-headers branch November 3, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs lgtm PRs that are ready to be merged as-is size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to use headers in chat ollama
2 participants