Portkey-AI / portkey-node-sdk

Build reliable, secure, and production-ready AI apps easily.
https://portkey.ai/docs
22 stars 8 forks source link

Prevent from dropping customHost headers #63

Closed Saif-Shines closed 5 months ago

Saif-Shines commented 5 months ago

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