Skip to content

Commit 6fae64d

Browse files
RoyLinRoyLin
authored andcommitted
fix(llm): set ZhipuClient provider_name to "zhipu" (model names are glm-*)
1 parent 8666db6 commit 6fae64d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/llm/zhipu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl ZhipuClient {
2323
pub fn new(api_key: String, model: String) -> Self {
2424
Self(
2525
OpenAiClient::new(api_key, model)
26-
.with_provider_name("glm")
26+
.with_provider_name("zhipu")
2727
.with_base_url(GLM_BASE_URL.to_string())
2828
.with_chat_completions_path(GLM_CHAT_PATH),
2929
)

0 commit comments

Comments
 (0)