feat: add z.ai post-process provider (#849)
Co-authored-by: Mathieu Dupuis <mathieu.dupuis@moov.ai>
This commit is contained in:
parent
3c0fb95185
commit
f8ee7fce7c
1 changed files with 8 additions and 0 deletions
|
|
@ -459,6 +459,14 @@ fn default_post_process_providers() -> Vec<PostProcessProvider> {
|
||||||
models_endpoint: Some("/models".to_string()),
|
models_endpoint: Some("/models".to_string()),
|
||||||
supports_structured_output: true,
|
supports_structured_output: true,
|
||||||
},
|
},
|
||||||
|
PostProcessProvider {
|
||||||
|
id: "zai".to_string(),
|
||||||
|
label: "Z.AI".to_string(),
|
||||||
|
base_url: "https://api.z.ai/api/paas/v4".to_string(),
|
||||||
|
allow_base_url_edit: false,
|
||||||
|
models_endpoint: Some("/models".to_string()),
|
||||||
|
supports_structured_output: true,
|
||||||
|
},
|
||||||
PostProcessProvider {
|
PostProcessProvider {
|
||||||
id: "openrouter".to_string(),
|
id: "openrouter".to_string(),
|
||||||
label: "OpenRouter".to_string(),
|
label: "OpenRouter".to_string(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue