Open overheat opened 10 months ago
he used async-openai crate as the openai api client.just set this environment variable OPENAI_API_BASE
likeexport OPENAI_API_BASE="https://api.openai.com/v1".
specific code reference https://github.com/64bit/async-openai/blob/main/async-openai/src/config.rs
We have a proxy for OpenAI API. How to modify OpenAI API endpoint?