Hello everyone, i am testing Portkey atm
it looks pretty Promising
i use Rust with the
async-openai
crate and now i get some errors, and i dont know how to fix them
with this setup:
let config = OpenAIConfig::new()
.with_api_base("https://api.portkey.ai/v1")
.with_api_key("portkeyApiKey");
println!("using Portkey");
let openai_client = Arc::new(OpenAIClient::with_config(config));
i am getting this error:
ERROR async_openai::error: 71: failed deserialization of: {"status":"failure","message":"Either x-portkey-config or x-portkey-provider header is required"}
what do i need exactly?
i could create a custom http client, but what does this headers mean? cant find them in the documentation