fix: MiMo 上下文窗口 1M + Agnes 多模态支持 Base64
This commit is contained in:
@@ -332,8 +332,8 @@ Metona 通过统一的 `IMetonaProviderAdapter` 接口抽象了所有 LLM Provid
|
||||
| 适配器 | Provider | 模型 | 上下文 | 流式格式 | Thinking | 多模态 |
|
||||
|:---|:---|:---|:---|:---|:---|:---|
|
||||
| **DeepSeekAdapter** | `deepseek` | deepseek-v4-pro / deepseek-v4-flash | 1M tokens | SSE | `thinking.type` + `reasoning_effort` | 否 |
|
||||
| **AgnesAdapter** | `agnes` | agnes-2.0-flash | 1M tokens | SSE | `chat_template_kwargs` / Anthropic 兼容 | 是 (URL) |
|
||||
| **MimoAdapter** | `mimo` | mimo-v2.5-pro / mimo-v2.5 | 131K tokens | SSE | `thinking.type: enabled` | 是 (URL + Base64) |
|
||||
| **AgnesAdapter** | `agnes` | agnes-2.0-flash | 1M tokens | SSE | `chat_template_kwargs` / Anthropic 兼容 | 是 (URL + Base64) |
|
||||
| **MimoAdapter** | `mimo` | mimo-v2.5-pro / mimo-v2.5 | 1M tokens | SSE | `thinking.type: enabled` | 是 (URL + Base64) |
|
||||
| **OllamaAdapter** | `ollama` | qwen3 / gemma3 / deepseek-r1 等 | 可配 (num_ctx) | NDJSON | `think` 参数 | 是 (Base64) |
|
||||
|
||||
### 适配器核心能力
|
||||
@@ -622,7 +622,7 @@ VITE_APP_TITLE=MetonaAI Desktop
|
||||
| `agent.confirmationTimeoutMs` | `120000` | 确认弹窗超时 (30s ~ 600s) |
|
||||
| `deepseek.contextWindow` | `1000000` | DeepSeek 上下文窗口 |
|
||||
| `agnes.contextWindow` | `1000000` | Agnes 上下文窗口 |
|
||||
| `mimo.contextWindow` | `131072` | MiMo 上下文窗口 |
|
||||
| `mimo.contextWindow` | `1000000` | MiMo 上下文窗口 |
|
||||
| `ollama.numCtx` | `4096` | Ollama num_ctx 参数 |
|
||||
|
||||
### SearXNG 元搜索引擎 (可选)
|
||||
@@ -664,7 +664,7 @@ MetonaAI-Desktop/
|
||||
│ │ │ ├── 📄 base-adapter.ts # 抽象基类 (fetchWithTimeout)
|
||||
│ │ │ ├── 📄 deepseek.adapter.ts # DeepSeek v4 (SSE, 1M ctx)
|
||||
│ │ │ ├── 📄 agnes-ai.adapter.ts # Agnes AI 2.0 (SSE, 多模态)
|
||||
│ │ │ ├── 📄 mimo.adapter.ts # MiMo 2.5 (SSE, 131K ctx)
|
||||
│ │ │ ├── 📄 mimo.adapter.ts # MiMo 2.5 (SSE, 1M ctx)
|
||||
│ │ │ ├── 📄 ollama.adapter.ts # Ollama (NDJSON, 600 行)
|
||||
│ │ │ └── 📂 shared/ # 共享: OpenAI 格式 · SSE 解析
|
||||
│ │ ├── 📂 tools/ # 工具系统
|
||||
|
||||
Reference in New Issue
Block a user