adding support for Qwen models and fixed issue with passing PATH vari… (#583)

* adding support for Qwen models and fixed issue with passing PATH variable

* don't need to have qwen in the model alias routing example

* fixed base_url for qwen

---------

Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-288.local>
This commit is contained in:
Salman Paracha 2025-10-01 21:57:58 -07:00 committed by GitHub
parent dbeaa51aa7
commit 226139e907
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 49 additions and 5 deletions

View file

@ -179,6 +179,8 @@ pub enum LlmProviderType {
Moonshotai,
#[serde(rename = "zhipu")]
Zhipu,
#[serde(rename = "qwen")]
Qwen,
}
impl Display for LlmProviderType {
@ -197,6 +199,7 @@ impl Display for LlmProviderType {
LlmProviderType::Ollama => write!(f, "ollama"),
LlmProviderType::Moonshotai => write!(f, "moonshotai"),
LlmProviderType::Zhipu => write!(f, "zhipu"),
LlmProviderType::Qwen => write!(f, "qwen"),
}
}
}