Skip to content

v0.8.65: 接入智谱 GLM-5.2 作为 provider route fixture #3439

Description

@413057leebobo

需求描述

希望在 CodeWhale 中支持智谱 GLM-5.2 模型作为 provider,用于子 Agent 调用。

使用场景

  • 当前 DeepSeek 模型表现不错,但某些中文场景(长文档理解、中文创作)GLM-5.2 有明显优势
  • 通过 agent 工具指定 model: "glm-5.2" 直接分发子任务到 GLM
  • Constitution 中已有 model_strength 对 GLM 家族的映射规划(GLM-5.2 → GLM-5-Turbo)

API 信息

期望配置方式

在 config.toml 中类似现有 provider 格式:

[providers.zhipu]
api_base = "https://open.bigmodel.cn/api/paas/v4/"
api_key = "$ZHIPU_API_KEY"
models = ["glm-5.2", "glm-5.2-flash"]

感谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodel-labModel Lab open-model discovery, evaluation, routing, and export workflowsv0.8.65Targeting v0.8.65

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions