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
Hi, the custom_host in config providers does not work when given x-portkey-custom-host in request headers. All fallback providers tends to use the one given in x-portkey-custom-host instead of the one in x-portkey-config. Thank you for the project and feel free to approch me for more details
What Should Have Happened?
No response
Relevant Code Snippet
below is the demo config file. Eventhough custom_host is specified. It still goes to x-portkey-custom-host { "strategy": { "mode": "fallback" }, "targets": [ { "provider": "openai", "api_key": "OPENAI_API_KEY_FROM_HOST_2","custom_host":"HOST_1" }, { "provider": "openai", "api_key": "OPENAI_API_KEY_FROM_HOST_2","custom_host":"HOST_2" } ] }
Your Twitter/LinkedIn
No response
The text was updated successfully, but these errors were encountered:
What Happened?
Hi, the custom_host in config providers does not work when given x-portkey-custom-host in request headers. All fallback providers tends to use the one given in x-portkey-custom-host instead of the one in x-portkey-config. Thank you for the project and feel free to approch me for more details
What Should Have Happened?
No response
Relevant Code Snippet
below is the demo config file. Eventhough custom_host is specified. It still goes to x-portkey-custom-host
{ "strategy": { "mode": "fallback" }, "targets": [ { "provider": "openai", "api_key": "OPENAI_API_KEY_FROM_HOST_2","custom_host":"HOST_1" }, { "provider": "openai", "api_key": "OPENAI_API_KEY_FROM_HOST_2","custom_host":"HOST_2" } ] }
Your Twitter/LinkedIn
No response
The text was updated successfully, but these errors were encountered: