mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
fixed issue with groq LLMs that require the openai in the /v1/chat/completions path. My first change
This commit is contained in:
parent
4d2d8bd7a1
commit
630081ebd3
5 changed files with 27 additions and 12 deletions
|
|
@ -11,7 +11,7 @@ pub const MODEL_SERVER_NAME: &str = "model_server";
|
|||
pub const ARCH_ROUTING_HEADER: &str = "x-arch-llm-provider";
|
||||
pub const MESSAGES_KEY: &str = "messages";
|
||||
pub const ARCH_PROVIDER_HINT_HEADER: &str = "x-arch-llm-provider-hint";
|
||||
pub const CHAT_COMPLETIONS_PATH: &str = "/v1/chat/completions";
|
||||
pub const CHAT_COMPLETIONS_PATH: [&str; 2] = ["/v1/chat/completions", "/openai/v1/chat/completions"];
|
||||
pub const HEALTHZ_PATH: &str = "/healthz";
|
||||
pub const ARCH_STATE_HEADER: &str = "x-arch-state";
|
||||
pub const ARCH_FC_MODEL_NAME: &str = "Arch-Function-1.5B";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue