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

Prevent from dropping customHost headers #63

Conversation

Saif-Shines
Copy link
Contributor

Description:
The SDK makes an API call to the AI gateway with all the body and headers to fetch a response from Ollama. Observed that the customHost headers are dropped.

Motivation:
This bug prevents users from seeing the chat completion response when they use SDK through Ollama. It is now fixed.

Related Issues:
#60

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 2, 2024
@VisargD VisargD linked an issue May 3, 2024 that may be closed by this pull request
@Saif-Shines Saif-Shines force-pushed the keeping-customhost-along-the-way-klyst-177 branch from 2b1d665 to f2ae3ac Compare May 3, 2024 09:27
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 3, 2024
@VisargD VisargD merged commit b744d50 into Portkey-AI:main May 3, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for customHost param
2 participants