mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 06:07:13 +08:00
feat: support glm-5.1
This commit is contained in:
12
README.md
12
README.md
@@ -113,7 +113,7 @@ irm https://cdn.link-ai.tech/code/cow/run.ps1 | iex
|
|||||||
|
|
||||||
项目支持国内外主流厂商的模型接口,可选模型及配置说明参考:[模型说明](#模型说明)。
|
项目支持国内外主流厂商的模型接口,可选模型及配置说明参考:[模型说明](#模型说明)。
|
||||||
|
|
||||||
> 注:Agent 模式下推荐使用以下模型,可根据效果及成本综合选择:MiniMax-M2.7、glm-5-turbo、kimi-k2.6、qwen3.5-plus、claude-sonnet-4-6、gemini-3.1-pro-preview、gpt-5.4、gpt-5.4-mini
|
> 注:Agent 模式下推荐使用以下模型,可根据效果及成本综合选择:MiniMax-M2.7、glm-5.1、kimi-k2.6、qwen3.5-plus、claude-sonnet-4-6、gemini-3.1-pro-preview、gpt-5.4、gpt-5.4-mini
|
||||||
|
|
||||||
同时支持使用 **LinkAI 平台** 接口,支持上述全部模型,并支持知识库、工作流、插件等 Agent 技能,参考 [接口文档](https://docs.link-ai.tech/platform/api)。
|
同时支持使用 **LinkAI 平台** 接口,支持上述全部模型,并支持知识库、工作流、插件等 Agent 技能,参考 [接口文档](https://docs.link-ai.tech/platform/api)。
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@ cow install-browser
|
|||||||
<details>
|
<details>
|
||||||
<summary>2. 其他配置</summary>
|
<summary>2. 其他配置</summary>
|
||||||
|
|
||||||
+ `model`: 模型名称,Agent 模式下推荐使用 `MiniMax-M2.7`、`glm-5-turbo`、`kimi-k2.6`、`qwen3.6-plus`、`claude-sonnet-4-6`、`gemini-3.1-pro-preview`,全部模型名称参考[common/const.py](https://github.com/zhayujie/CowAgent/blob/master/common/const.py)文件
|
+ `model`: 模型名称,Agent 模式下推荐使用 `MiniMax-M2.7`、`glm-5.1`、`kimi-k2.6`、`qwen3.6-plus`、`claude-sonnet-4-6`、`gemini-3.1-pro-preview`,全部模型名称参考[common/const.py](https://github.com/zhayujie/CowAgent/blob/master/common/const.py)文件
|
||||||
+ `character_desc`:普通对话模式下的机器人系统提示词。在 Agent 模式下该配置不生效,由工作空间中的文件内容构成。
|
+ `character_desc`:普通对话模式下的机器人系统提示词。在 Agent 模式下该配置不生效,由工作空间中的文件内容构成。
|
||||||
+ `subscribe_msg`:订阅消息,公众号和企业微信 channel 中请填写,当被订阅时会自动回复, 可使用特殊占位符。目前支持的占位符有{trigger_prefix},在程序中它会自动替换成 bot 的触发词。
|
+ `subscribe_msg`:订阅消息,公众号和企业微信 channel 中请填写,当被订阅时会自动回复, 可使用特殊占位符。目前支持的占位符有{trigger_prefix},在程序中它会自动替换成 bot 的触发词。
|
||||||
</details>
|
</details>
|
||||||
@@ -388,24 +388,24 @@ sudo docker logs -f chatgpt-on-wechat
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"zhipu_ai_api_key": ""
|
"zhipu_ai_api_key": ""
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
- `model`: 可填 `glm-5-turbo、glm-5、glm-4.7、glm-4-plus、glm-4-flash、glm-4-air、glm-4-airx、glm-4-long` 等, 参考 [glm 系列模型编码](https://bigmodel.cn/dev/api/normal-model/glm-4)
|
- `model`: 可填 `glm-5.1、glm-5-turbo、glm-5、glm-4.7、glm-4-plus、glm-4-flash、glm-4-air、glm-4-airx、glm-4-long` 等, 参考 [glm 系列模型编码](https://bigmodel.cn/dev/api/normal-model/glm-4)
|
||||||
- `zhipu_ai_api_key`: 智谱AI 平台的 API KEY,在 [控制台](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) 创建
|
- `zhipu_ai_api_key`: 智谱AI 平台的 API KEY,在 [控制台](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) 创建
|
||||||
|
|
||||||
方式二:OpenAI 兼容方式接入,配置如下:
|
方式二:OpenAI 兼容方式接入,配置如下:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"bot_type": "openai",
|
"bot_type": "openai",
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
||||||
"open_ai_api_key": ""
|
"open_ai_api_key": ""
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
- `bot_type`: OpenAI 兼容方式
|
- `bot_type`: OpenAI 兼容方式
|
||||||
- `model`: 可填 `glm-5-turbo、glm-5、glm-4.7、glm-4-plus、glm-4-flash、glm-4-air、glm-4-airx、glm-4-long` 等
|
- `model`: 可填 `glm-5.1、glm-5-turbo、glm-5、glm-4.7、glm-4-plus、glm-4-flash、glm-4-air、glm-4-airx、glm-4-long` 等
|
||||||
- `open_ai_api_base`: 智谱AI 平台的 BASE URL
|
- `open_ai_api_base`: 智谱AI 平台的 BASE URL
|
||||||
- `open_ai_api_key`: 智谱AI 平台的 API KEY
|
- `open_ai_api_key`: 智谱AI 平台的 API KEY
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
@@ -771,7 +771,7 @@ class ConfigHandler:
|
|||||||
|
|
||||||
_RECOMMENDED_MODELS = [
|
_RECOMMENDED_MODELS = [
|
||||||
const.MINIMAX_M2_7_HIGHSPEED, const.MINIMAX_M2_7, const.MINIMAX_M2_5, const.MINIMAX_M2_1, const.MINIMAX_M2_1_LIGHTNING,
|
const.MINIMAX_M2_7_HIGHSPEED, const.MINIMAX_M2_7, const.MINIMAX_M2_5, const.MINIMAX_M2_1, const.MINIMAX_M2_1_LIGHTNING,
|
||||||
const.GLM_5_TURBO, const.GLM_5, const.GLM_4_7,
|
const.GLM_5_1, const.GLM_5_TURBO, const.GLM_5, const.GLM_4_7,
|
||||||
const.QWEN36_PLUS, const.QWEN35_PLUS, const.QWEN3_MAX,
|
const.QWEN36_PLUS, const.QWEN35_PLUS, const.QWEN3_MAX,
|
||||||
const.KIMI_K2_6, const.KIMI_K2_5, const.KIMI_K2,
|
const.KIMI_K2_6, const.KIMI_K2_5, const.KIMI_K2,
|
||||||
const.DOUBAO_SEED_2_PRO, const.DOUBAO_SEED_2_CODE,
|
const.DOUBAO_SEED_2_PRO, const.DOUBAO_SEED_2_CODE,
|
||||||
@@ -794,7 +794,7 @@ class ConfigHandler:
|
|||||||
"api_key_field": "zhipu_ai_api_key",
|
"api_key_field": "zhipu_ai_api_key",
|
||||||
"api_base_key": "zhipu_ai_api_base",
|
"api_base_key": "zhipu_ai_api_base",
|
||||||
"api_base_default": "https://open.bigmodel.cn/api/paas/v4",
|
"api_base_default": "https://open.bigmodel.cn/api/paas/v4",
|
||||||
"models": [const.GLM_5_TURBO, const.GLM_5, const.GLM_4_7],
|
"models": [const.GLM_5_1, const.GLM_5_TURBO, const.GLM_5, const.GLM_4_7],
|
||||||
}),
|
}),
|
||||||
("dashscope", {
|
("dashscope", {
|
||||||
"label": "通义千问",
|
"label": "通义千问",
|
||||||
|
|||||||
@@ -103,7 +103,8 @@ MINIMAX_M2 = "MiniMax-M2" # MiniMax M2
|
|||||||
MINIMAX_ABAB6_5 = "abab6.5-chat" # MiniMax abab6.5
|
MINIMAX_ABAB6_5 = "abab6.5-chat" # MiniMax abab6.5
|
||||||
|
|
||||||
# GLM (智谱AI)
|
# GLM (智谱AI)
|
||||||
GLM_5_TURBO = "glm-5-turbo" # 智谱 GLM-5-Turbo - Latest
|
GLM_5_1 = "glm-5.1" # 智谱 GLM-5.1 - Agent recommended model (default)
|
||||||
|
GLM_5_TURBO = "glm-5-turbo" # 智谱 GLM-5-Turbo
|
||||||
GLM_5 = "glm-5" # 智谱 GLM-5
|
GLM_5 = "glm-5" # 智谱 GLM-5
|
||||||
GLM_4 = "glm-4"
|
GLM_4 = "glm-4"
|
||||||
GLM_4_PLUS = "glm-4-plus"
|
GLM_4_PLUS = "glm-4-plus"
|
||||||
@@ -182,7 +183,7 @@ MODEL_LIST = [
|
|||||||
MiniMax, MINIMAX_M2_7, MINIMAX_M2_7_HIGHSPEED, MINIMAX_M2_5, MINIMAX_M2_1, MINIMAX_M2_1_LIGHTNING, MINIMAX_M2, MINIMAX_ABAB6_5,
|
MiniMax, MINIMAX_M2_7, MINIMAX_M2_7_HIGHSPEED, MINIMAX_M2_5, MINIMAX_M2_1, MINIMAX_M2_1_LIGHTNING, MINIMAX_M2, MINIMAX_ABAB6_5,
|
||||||
|
|
||||||
# GLM
|
# GLM
|
||||||
ZHIPU_AI, GLM_5_TURBO, GLM_5, GLM_4, GLM_4_PLUS, GLM_4_flash, GLM_4_LONG, GLM_4_ALLTOOLS,
|
ZHIPU_AI, GLM_5_1, GLM_5_TURBO, GLM_5, GLM_4, GLM_4_PLUS, GLM_4_flash, GLM_4_LONG, GLM_4_ALLTOOLS,
|
||||||
GLM_4_0520, GLM_4_AIR, GLM_4_AIRX, GLM_4_7,
|
GLM_4_0520, GLM_4_AIR, GLM_4_AIRX, GLM_4_7,
|
||||||
|
|
||||||
# Kimi
|
# Kimi
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ Supports mainstream model providers. Recommended models for Agent mode:
|
|||||||
| Provider | Recommended Model |
|
| Provider | Recommended Model |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| MiniMax | `MiniMax-M2.7` |
|
| MiniMax | `MiniMax-M2.7` |
|
||||||
| GLM | `glm-5-turbo` |
|
| GLM | `glm-5.1` |
|
||||||
| Kimi | `kimi-k2.6` |
|
| Kimi | `kimi-k2.6` |
|
||||||
| Doubao | `doubao-seed-2-0-code-preview-260215` |
|
| Doubao | `doubao-seed-2-0-code-preview-260215` |
|
||||||
| Qwen | `qwen3.6-plus` |
|
| Qwen | `qwen3.6-plus` |
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: Zhipu AI GLM model configuration
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"zhipu_ai_api_key": "YOUR_API_KEY"
|
"zhipu_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
| Parameter | Description |
|
| Parameter | Description |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `model` | Options include `glm-5-turbo`, `glm-5`, `glm-4.7`, `glm-4-plus`, `glm-4-flash`, `glm-4-air`, etc. See [model codes](https://bigmodel.cn/dev/api/normal-model/glm-4) |
|
| `model` | Options include `glm-5.1`, `glm-5-turbo`, `glm-5`, `glm-4.7`, `glm-4-plus`, `glm-4-flash`, `glm-4-air`, etc. See [model codes](https://bigmodel.cn/dev/api/normal-model/glm-4) |
|
||||||
| `zhipu_ai_api_key` | Create at [Zhipu AI Console](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) |
|
| `zhipu_ai_api_key` | Create at [Zhipu AI Console](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) |
|
||||||
|
|
||||||
OpenAI-compatible configuration is also supported:
|
OpenAI-compatible configuration is also supported:
|
||||||
@@ -20,7 +20,7 @@ OpenAI-compatible configuration is also supported:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"bot_type": "openai",
|
"bot_type": "openai",
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
||||||
"open_ai_api_key": "YOUR_API_KEY"
|
"open_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ description: Supported models and recommended choices for CowAgent
|
|||||||
CowAgent supports mainstream LLMs from domestic and international providers. Model interfaces are implemented in the project's `models/` directory.
|
CowAgent supports mainstream LLMs from domestic and international providers. Model interfaces are implemented in the project's `models/` directory.
|
||||||
|
|
||||||
<Note>
|
<Note>
|
||||||
For Agent mode, the following models are recommended based on quality and cost: MiniMax-M2.7, glm-5-turbo, kimi-k2.6, qwen3.6-plus, claude-sonnet-4-6, gemini-3.1-pro-preview
|
For Agent mode, the following models are recommended based on quality and cost: MiniMax-M2.7, glm-5.1, kimi-k2.6, qwen3.6-plus, claude-sonnet-4-6, gemini-3.1-pro-preview
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
@@ -22,7 +22,7 @@ You can also use the [LinkAI](https://link-ai.tech) platform interface to flexib
|
|||||||
MiniMax-M2.7 and other series models
|
MiniMax-M2.7 and other series models
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="GLM (Zhipu AI)" href="/en/models/glm">
|
<Card title="GLM (Zhipu AI)" href="/en/models/glm">
|
||||||
glm-5-turbo, glm-5 and other series models
|
glm-5.1, glm-5-turbo, glm-5 and other series models
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Qwen (Tongyi Qianwen)" href="/en/models/qwen">
|
<Card title="Qwen (Tongyi Qianwen)" href="/en/models/qwen">
|
||||||
qwen3.6-plus, qwen3-max and more
|
qwen3.6-plus, qwen3-max and more
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ sudo docker logs -f chatgpt-on-wechat
|
|||||||
| プロバイダー | 推奨モデル |
|
| プロバイダー | 推奨モデル |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| MiniMax | `MiniMax-M2.7` |
|
| MiniMax | `MiniMax-M2.7` |
|
||||||
| GLM | `glm-5-turbo` |
|
| GLM | `glm-5.1` |
|
||||||
| Kimi | `kimi-k2.6` |
|
| Kimi | `kimi-k2.6` |
|
||||||
| Doubao | `doubao-seed-2-0-code-preview-260215` |
|
| Doubao | `doubao-seed-2-0-code-preview-260215` |
|
||||||
| Qwen | `qwen3.6-plus` |
|
| Qwen | `qwen3.6-plus` |
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: 智谱AI GLMモデルの設定
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"zhipu_ai_api_key": "YOUR_API_KEY"
|
"zhipu_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
| パラメータ | 説明 |
|
| パラメータ | 説明 |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `model` | `glm-5-turbo`、`glm-5`、`glm-4.7`、`glm-4-plus`、`glm-4-flash`、`glm-4-air`などから選択可能。[モデルコード](https://bigmodel.cn/dev/api/normal-model/glm-4)を参照 |
|
| `model` | `glm-5.1`、`glm-5-turbo`、`glm-5`、`glm-4.7`、`glm-4-plus`、`glm-4-flash`、`glm-4-air`などから選択可能。[モデルコード](https://bigmodel.cn/dev/api/normal-model/glm-4)を参照 |
|
||||||
| `zhipu_ai_api_key` | [智谱AI Console](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys)で作成 |
|
| `zhipu_ai_api_key` | [智谱AI Console](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys)で作成 |
|
||||||
|
|
||||||
OpenAI互換の設定もサポートしています:
|
OpenAI互換の設定もサポートしています:
|
||||||
@@ -20,7 +20,7 @@ OpenAI互換の設定もサポートしています:
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"bot_type": "openai",
|
"bot_type": "openai",
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
||||||
"open_ai_api_key": "YOUR_API_KEY"
|
"open_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ description: CowAgentがサポートするモデルとおすすめの選択肢
|
|||||||
CowAgentは国内外の主要なLLMをサポートしています。モデルインターフェースはプロジェクトの`models/`ディレクトリに実装されています。
|
CowAgentは国内外の主要なLLMをサポートしています。モデルインターフェースはプロジェクトの`models/`ディレクトリに実装されています。
|
||||||
|
|
||||||
<Note>
|
<Note>
|
||||||
Agent モードでは、品質とコストのバランスから以下のモデルをおすすめします: MiniMax-M2.7、glm-5-turbo、kimi-k2.6、qwen3.6-plus、claude-sonnet-4-6、gemini-3.1-pro-preview
|
Agent モードでは、品質とコストのバランスから以下のモデルをおすすめします: MiniMax-M2.7、glm-5.1、kimi-k2.6、qwen3.6-plus、claude-sonnet-4-6、gemini-3.1-pro-preview
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
## 設定
|
## 設定
|
||||||
@@ -22,7 +22,7 @@ CowAgentは国内外の主要なLLMをサポートしています。モデルイ
|
|||||||
MiniMax-M2.7およびその他のシリーズモデル
|
MiniMax-M2.7およびその他のシリーズモデル
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="GLM (智谱AI)" href="/ja/models/glm">
|
<Card title="GLM (智谱AI)" href="/ja/models/glm">
|
||||||
glm-5-turbo、glm-5およびその他のシリーズモデル
|
glm-5.1、glm-5-turbo、glm-5およびその他のシリーズモデル
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Qwen (通义千问)" href="/ja/models/qwen">
|
<Card title="Qwen (通义千问)" href="/ja/models/qwen">
|
||||||
qwen3.6-plus、qwen3-maxなど
|
qwen3.6-plus、qwen3-maxなど
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: 智谱AI GLM 模型配置
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"zhipu_ai_api_key": "YOUR_API_KEY"
|
"zhipu_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
| 参数 | 说明 |
|
| 参数 | 说明 |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `model` | 可填 `glm-5-turbo`、`glm-5`、`glm-4.7`、`glm-4-plus`、`glm-4-flash`、`glm-4-air` 等,参考 [模型编码](https://bigmodel.cn/dev/api/normal-model/glm-4) |
|
| `model` | 可填 `glm-5.1`、`glm-5-turbo`、`glm-5`、`glm-4.7`、`glm-4-plus`、`glm-4-flash`、`glm-4-air` 等,参考 [模型编码](https://bigmodel.cn/dev/api/normal-model/glm-4) |
|
||||||
| `zhipu_ai_api_key` | 在 [智谱AI 控制台](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) 创建 |
|
| `zhipu_ai_api_key` | 在 [智谱AI 控制台](https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys) 创建 |
|
||||||
|
|
||||||
也支持 OpenAI 兼容方式接入:
|
也支持 OpenAI 兼容方式接入:
|
||||||
@@ -20,7 +20,7 @@ description: 智谱AI GLM 模型配置
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"bot_type": "openai",
|
"bot_type": "openai",
|
||||||
"model": "glm-5-turbo",
|
"model": "glm-5.1",
|
||||||
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
"open_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
|
||||||
"open_ai_api_key": "YOUR_API_KEY"
|
"open_ai_api_key": "YOUR_API_KEY"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ description: CowAgent 支持的模型及推荐选择
|
|||||||
CowAgent 支持国内外主流厂商的大语言模型,模型接口实现在项目的 `models/` 目录下。
|
CowAgent 支持国内外主流厂商的大语言模型,模型接口实现在项目的 `models/` 目录下。
|
||||||
|
|
||||||
<Note>
|
<Note>
|
||||||
Agent 模式下推荐使用以下模型,可根据效果及成本综合选择:MiniMax-M2.7、glm-5-turbo、kimi-k2.6、qwen3.6-plus、claude-sonnet-4-6、gemini-3.1-pro-preview
|
Agent 模式下推荐使用以下模型,可根据效果及成本综合选择:MiniMax-M2.7、glm-5.1、kimi-k2.6、qwen3.6-plus、claude-sonnet-4-6、gemini-3.1-pro-preview
|
||||||
|
|
||||||
同时支持使用 [LinkAI](https://link-ai.tech) 平台接口,可灵活切换多种模型,并支持知识库、工作流、插件等 Agent 能力。
|
同时支持使用 [LinkAI](https://link-ai.tech) 平台接口,可灵活切换多种模型,并支持知识库、工作流、插件等 Agent 能力。
|
||||||
</Note>
|
</Note>
|
||||||
@@ -27,7 +27,7 @@ CowAgent 支持国内外主流厂商的大语言模型,模型接口实现在
|
|||||||
MiniMax-M2.7 等系列模型
|
MiniMax-M2.7 等系列模型
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="智谱 GLM" href="/models/glm">
|
<Card title="智谱 GLM" href="/models/glm">
|
||||||
glm-5-turbo、glm-5 等系列模型
|
glm-5.1、glm-5-turbo、glm-5 等系列模型
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="通义千问 Qwen" href="/models/qwen">
|
<Card title="通义千问 Qwen" href="/models/qwen">
|
||||||
qwen3.6-plus、qwen3-max 等
|
qwen3.6-plus、qwen3-max 等
|
||||||
|
|||||||
4
run.sh
4
run.sh
@@ -310,7 +310,7 @@ select_model() {
|
|||||||
echo -e "${CYAN}${BOLD} Select AI Model${NC}"
|
echo -e "${CYAN}${BOLD} Select AI Model${NC}"
|
||||||
echo -e "${CYAN}${BOLD}=========================================${NC}"
|
echo -e "${CYAN}${BOLD}=========================================${NC}"
|
||||||
echo -e "${YELLOW}1) MiniMax (MiniMax-M2.7, MiniMax-M2.5, etc.)${NC}"
|
echo -e "${YELLOW}1) MiniMax (MiniMax-M2.7, MiniMax-M2.5, etc.)${NC}"
|
||||||
echo -e "${YELLOW}2) Zhipu AI (glm-5-turbo, glm-5, etc.)${NC}"
|
echo -e "${YELLOW}2) Zhipu AI (glm-5.1, glm-5-turbo, glm-5, etc.)${NC}"
|
||||||
echo -e "${YELLOW}3) Kimi (kimi-k2.6, kimi-k2.5, kimi-k2, etc.)${NC}"
|
echo -e "${YELLOW}3) Kimi (kimi-k2.6, kimi-k2.5, kimi-k2, etc.)${NC}"
|
||||||
echo -e "${YELLOW}4) Doubao (doubao-seed-2-0-code-preview-260215, etc.)${NC}"
|
echo -e "${YELLOW}4) Doubao (doubao-seed-2-0-code-preview-260215, etc.)${NC}"
|
||||||
echo -e "${YELLOW}5) Qwen (qwen3.6-plus, qwen3.5-plus, qwen3-max, qwq-plus, etc.)${NC}"
|
echo -e "${YELLOW}5) Qwen (qwen3.6-plus, qwen3.5-plus, qwen3-max, qwq-plus, etc.)${NC}"
|
||||||
@@ -357,7 +357,7 @@ read_api_base() {
|
|||||||
configure_model() {
|
configure_model() {
|
||||||
case "$model_choice" in
|
case "$model_choice" in
|
||||||
1) read_model_config "MiniMax" "MiniMax-M2.7" "MINIMAX_KEY" ;;
|
1) read_model_config "MiniMax" "MiniMax-M2.7" "MINIMAX_KEY" ;;
|
||||||
2) read_model_config "Zhipu AI" "glm-5-turbo" "ZHIPU_KEY" ;;
|
2) read_model_config "Zhipu AI" "glm-5.1" "ZHIPU_KEY" ;;
|
||||||
3) read_model_config "Kimi (Moonshot)" "kimi-k2.6" "MOONSHOT_KEY" ;;
|
3) read_model_config "Kimi (Moonshot)" "kimi-k2.6" "MOONSHOT_KEY" ;;
|
||||||
4) read_model_config "Doubao (Volcengine Ark)" "doubao-seed-2-0-code-preview-260215" "ARK_KEY" ;;
|
4) read_model_config "Doubao (Volcengine Ark)" "doubao-seed-2-0-code-preview-260215" "ARK_KEY" ;;
|
||||||
5) read_model_config "Qwen (DashScope)" "qwen3.6-plus" "DASHSCOPE_KEY" ;;
|
5) read_model_config "Qwen (DashScope)" "qwen3.6-plus" "DASHSCOPE_KEY" ;;
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ function Install-Dependencies {
|
|||||||
# ── model selection ──────────────────────────────────────────────
|
# ── model selection ──────────────────────────────────────────────
|
||||||
$ModelChoices = @{
|
$ModelChoices = @{
|
||||||
"1" = @{ Provider = "MiniMax"; Default = "MiniMax-M2.7"; Key = "MINIMAX_KEY" }
|
"1" = @{ Provider = "MiniMax"; Default = "MiniMax-M2.7"; Key = "MINIMAX_KEY" }
|
||||||
"2" = @{ Provider = "Zhipu AI"; Default = "glm-5-turbo"; Key = "ZHIPU_KEY" }
|
"2" = @{ Provider = "Zhipu AI"; Default = "glm-5.1"; Key = "ZHIPU_KEY" }
|
||||||
"3" = @{ Provider = "Kimi (Moonshot)"; Default = "kimi-k2.6"; Key = "MOONSHOT_KEY" }
|
"3" = @{ Provider = "Kimi (Moonshot)"; Default = "kimi-k2.6"; Key = "MOONSHOT_KEY" }
|
||||||
"4" = @{ Provider = "Doubao (Volcengine Ark)"; Default = "doubao-seed-2-0-code-preview-260215"; Key = "ARK_KEY" }
|
"4" = @{ Provider = "Doubao (Volcengine Ark)"; Default = "doubao-seed-2-0-code-preview-260215"; Key = "ARK_KEY" }
|
||||||
"5" = @{ Provider = "Qwen (DashScope)"; Default = "qwen3.6-plus"; Key = "DASHSCOPE_KEY" }
|
"5" = @{ Provider = "Qwen (DashScope)"; Default = "qwen3.6-plus"; Key = "DASHSCOPE_KEY" }
|
||||||
@@ -185,7 +185,7 @@ function Select-Model {
|
|||||||
Write-Info " Select AI Model"
|
Write-Info " Select AI Model"
|
||||||
Write-Info "========================================="
|
Write-Info "========================================="
|
||||||
Write-Host "1) MiniMax (MiniMax-M2.7, MiniMax-M2.5, etc.)"
|
Write-Host "1) MiniMax (MiniMax-M2.7, MiniMax-M2.5, etc.)"
|
||||||
Write-Host "2) Zhipu AI (glm-5-turbo, glm-5, etc.)"
|
Write-Host "2) Zhipu AI (glm-5.1, glm-5-turbo, glm-5, etc.)"
|
||||||
Write-Host "3) Kimi (kimi-k2.6, kimi-k2.5, kimi-k2, etc.)"
|
Write-Host "3) Kimi (kimi-k2.6, kimi-k2.5, kimi-k2, etc.)"
|
||||||
Write-Host "4) Doubao (doubao-seed-2-0-code-preview-260215, etc.)"
|
Write-Host "4) Doubao (doubao-seed-2-0-code-preview-260215, etc.)"
|
||||||
Write-Host "5) Qwen (qwen3.6-plus, qwen3.5-plus, qwen3-max, qwq-plus, etc.)"
|
Write-Host "5) Qwen (qwen3.6-plus, qwen3.5-plus, qwen3-max, qwq-plus, etc.)"
|
||||||
|
|||||||
Reference in New Issue
Block a user