forked from agents/opencode
Compare commits
36 Commits
61374e11a9
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| bd32f35e76 | |||
| 3b623a3db8 | |||
| 071e61ff3d | |||
| e2ba6e9bd0 | |||
| 536a5f6e05 | |||
| a288a50fb2 | |||
| 725477f0cd | |||
| 5bc20fee60 | |||
| e5120f2690 | |||
| 4b784e0ac1 | |||
| 7cc5251acc | |||
| 9284359b93 | |||
| 2a1f59b993 | |||
| 42a1057494 | |||
| 1502791097 | |||
| 092acf0659 | |||
| cf5f6470ab | |||
| 500caf5575 | |||
| 9531af8acb | |||
| 6b1fd3d5d4 | |||
| 9a096ea765 | |||
| 447d49522e | |||
| d38b41cb73 | |||
| dfe763a0d9 | |||
| ff0ff59d5e | |||
| 3d0daff68a | |||
| 2b7e3ffecd | |||
| d3f81338f3 | |||
| e48b568738 | |||
| 1ab05fac87 | |||
| b5717759ba | |||
| cc38835300 | |||
| f3a9562301 | |||
| 6450117296 | |||
| 1440291655 | |||
| ec0aff2728 |
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# Provider
|
# Provider
|
||||||
LITELLM_BASE_URL=https://ai.furtherverse.com
|
AI_GATEWAY_BASE_URL=https://ai-gateway.furtherverse.com
|
||||||
LITELLM_API_KEY=
|
AI_GATEWAY_API_KEY=
|
||||||
|
|
||||||
# MCP
|
# MCP
|
||||||
EXA_API_KEY=
|
EXA_API_KEY=
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
node_modules
|
node_modules
|
||||||
package.json
|
package.json
|
||||||
|
package-lock.json
|
||||||
bun.lock
|
bun.lock
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
|
oh-my-openagent.json
|
||||||
|
oh-my-openagent.jsonc
|
||||||
|
|||||||
@@ -0,0 +1,62 @@
|
|||||||
|
# opencode-config
|
||||||
|
|
||||||
|
个人 [OpenCode](https://opencode.ai) 配置文件。
|
||||||
|
|
||||||
|
## 使用
|
||||||
|
|
||||||
|
1. 安装 OpenCode
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm i -g opencode-ai
|
||||||
|
# 或
|
||||||
|
bun add -g opencode-ai
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 克隆配置到 `~/.config/opencode`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone <repo-url> ~/.config/opencode
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 参考 `.env.example` 将以下环境变量配置到系统中
|
||||||
|
|
||||||
|
| 变量 | 必填 | 说明 |
|
||||||
|
|------|------|------|
|
||||||
|
| `AI_GATEWAY_BASE_URL` | 是 | 模型服务端点 |
|
||||||
|
| `AI_GATEWAY_API_KEY` | 是 | 模型服务密钥 |
|
||||||
|
| `EXA_API_KEY` | 否 | [Exa](https://exa.ai) 搜索,提供联网能力,不配则使用默认额度 |
|
||||||
|
| `CONTEXT7_API_KEY` | 否 | [Context7](https://context7.com) 文档查询,提供库文档检索,不配则使用默认额度 |
|
||||||
|
| `OPENCODE_GIT_BASH_PATH` | 否 | Windows 用户需指定 Git Bash 路径,否则工具调用可能异常 |
|
||||||
|
|
||||||
|
4. 选择 oh-my-openagent 配置
|
||||||
|
|
||||||
|
项目提供了多套 [oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) 预设配置,通过符号链接切换:
|
||||||
|
|
||||||
|
| 文件 | 说明 |
|
||||||
|
|------|------|
|
||||||
|
| `oh-my-openagent.claude.jsonc` | 主力 agent 使用 Claude 系列模型 |
|
||||||
|
| `oh-my-openagent.gpt.jsonc` | 主力 agent 使用 GPT 系列模型 |
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 使用 Claude 配置(默认)
|
||||||
|
ln -sf oh-my-openagent.claude.jsonc oh-my-openagent.jsonc
|
||||||
|
|
||||||
|
# 使用 GPT 配置
|
||||||
|
ln -sf oh-my-openagent.gpt.jsonc oh-my-openagent.jsonc
|
||||||
|
```
|
||||||
|
|
||||||
|
5. 运行 `opencode`
|
||||||
|
|
||||||
|
## 设计参考(DESIGN.md)
|
||||||
|
|
||||||
|
这个仓库也收录了来自 `VoltAgent/awesome-design-md` 的设计参考接入说明。
|
||||||
|
|
||||||
|
- 它们**不是** OpenCode skill,也不会被 `jr` 全局自动加载。
|
||||||
|
- 正确用法是:在具体项目根目录生成 `DESIGN.md`,再让 AI 在 UI 工作时参考它。
|
||||||
|
|
||||||
|
目前纳管了两套常用设计来源:
|
||||||
|
|
||||||
|
- `opencode.ai`
|
||||||
|
- `voltagent`
|
||||||
|
|
||||||
|
详细说明见 [`docs/design-md.md`](docs/design-md.md)。
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
# DESIGN.md 设计参考接入说明
|
||||||
|
|
||||||
|
本文件用于给 `jr` 配置仓库存放 UI 设计参考来源。
|
||||||
|
|
||||||
|
## 结论
|
||||||
|
|
||||||
|
`https://github.com/VoltAgent/awesome-design-md.git` 不是 OpenCode/opencode-jr 的原生 skill 或 plugin 仓库。
|
||||||
|
|
||||||
|
- 它不是 `AGENTS.md`
|
||||||
|
- 它不是 `oh-my-openagent` 配置
|
||||||
|
- 它不是可直接全局加载的 skill 集合
|
||||||
|
- 它本质上是一个 `DESIGN.md` 设计灵感索引
|
||||||
|
|
||||||
|
因此,这里的集成方式是:
|
||||||
|
|
||||||
|
1. 在 `jr` 配置仓库中记录可用设计来源
|
||||||
|
2. 在具体项目里按需生成 `DESIGN.md`
|
||||||
|
3. 让 AI 在做 UI / UX / 视觉工作时参考该文件
|
||||||
|
|
||||||
|
## 推荐设计来源
|
||||||
|
|
||||||
|
### 1. OpenCode 风格
|
||||||
|
|
||||||
|
- 页面:`https://getdesign.md/opencode.ai/design-md`
|
||||||
|
- 用途:AI coding 平台、开发者工具、终端风格暗色 UI
|
||||||
|
- 官方推荐命令:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx getdesign@latest add opencode.ai
|
||||||
|
```
|
||||||
|
|
||||||
|
页面摘要:
|
||||||
|
|
||||||
|
> Design System inspired by OpenCode
|
||||||
|
>
|
||||||
|
> AI coding platform. Developer-centric dark theme.
|
||||||
|
|
||||||
|
### 2. VoltAgent 风格
|
||||||
|
|
||||||
|
- 页面:`https://getdesign.md/voltagent/design-md`
|
||||||
|
- 用途:AI agent framework、终端感暗色界面、黑绿配色
|
||||||
|
- 官方推荐命令:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx getdesign@latest add voltagent
|
||||||
|
```
|
||||||
|
|
||||||
|
页面摘要:
|
||||||
|
|
||||||
|
> Design System inspired by VoltAgent
|
||||||
|
>
|
||||||
|
> AI agent framework. Void-black canvas, emerald accent, terminal-native.
|
||||||
|
|
||||||
|
## 使用方式
|
||||||
|
|
||||||
|
在你要开发的项目根目录运行:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# OpenCode 风格
|
||||||
|
npx getdesign@latest add opencode.ai
|
||||||
|
|
||||||
|
# 或 VoltAgent 风格
|
||||||
|
npx getdesign@latest add voltagent
|
||||||
|
```
|
||||||
|
|
||||||
|
生成 `DESIGN.md` 后,再在 AI 对话中明确说明:
|
||||||
|
|
||||||
|
- “请按当前项目里的 `DESIGN.md` 做 UI”
|
||||||
|
- “请参考 `DESIGN.md` 的视觉语言实现这个页面”
|
||||||
|
|
||||||
|
## 为什么不直接把它配成 jr skill
|
||||||
|
|
||||||
|
因为当前证据表明:
|
||||||
|
|
||||||
|
- 远端仓库主要是索引/跳转结构
|
||||||
|
- 不包含可直接接入的 `skills/`、`plugins/`、`AGENTS.md` 或 `oh-my-openagent` 配置
|
||||||
|
- `DESIGN.md` 的设计目标是**项目级输入**,不是 `jr` 的全局能力注入
|
||||||
|
|
||||||
|
所以最稳妥的做法不是伪装成 skill,而是把它记录为 `jr` 的设计参考来源。
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
||||||
|
"agents": {
|
||||||
|
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
||||||
|
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||||
|
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
||||||
|
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
||||||
|
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
||||||
|
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
||||||
|
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||||
|
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
||||||
|
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
||||||
|
},
|
||||||
|
"categories": {
|
||||||
|
"visual-engineering": { "model": "ai-gateway/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
|
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||||
|
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"artistry": { "model": "ai-gateway/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
|
"quick": { "model": "openai/gpt-5.4-mini" },
|
||||||
|
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
||||||
|
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
||||||
|
"writing": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||||
|
},
|
||||||
|
"experimental": {
|
||||||
|
"disable_omo_env": true,
|
||||||
|
"dynamic_context_pruning": {
|
||||||
|
"enabled": true,
|
||||||
|
"notification": "detailed",
|
||||||
|
"turn_protection": {
|
||||||
|
"enabled": true,
|
||||||
|
"turns": 3
|
||||||
|
},
|
||||||
|
"protected_tools": [
|
||||||
|
"task",
|
||||||
|
"todowrite",
|
||||||
|
"todoread",
|
||||||
|
"lsp_rename",
|
||||||
|
"session_read",
|
||||||
|
"session_write",
|
||||||
|
"session_search"
|
||||||
|
],
|
||||||
|
"strategies": {
|
||||||
|
"deduplication": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"supersede_writes": {
|
||||||
|
"enabled": true,
|
||||||
|
"aggressive": false
|
||||||
|
},
|
||||||
|
"purge_errors": {
|
||||||
|
"enabled": true,
|
||||||
|
"turns": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git_master": {
|
||||||
|
"commit_footer": false,
|
||||||
|
"include_co_authored_by": false,
|
||||||
|
"git_env_prefix": "GIT_MASTER=1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
||||||
|
"agents": {
|
||||||
|
"sisyphus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||||
|
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
||||||
|
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
||||||
|
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"prometheus": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||||
|
"metis": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||||
|
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||||
|
"atlas": { "model": "ai-gateway/kimi-k2p5-turbo" },
|
||||||
|
"sisyphus-junior": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||||
|
},
|
||||||
|
"categories": {
|
||||||
|
"visual-engineering": { "model": "ai-gateway/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
|
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
||||||
|
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
|
||||||
|
"artistry": { "model": "ai-gateway/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
|
"quick": { "model": "openai/gpt-5.4-mini" },
|
||||||
|
"unspecified-low": { "model": "gpt-5.3-codex", "variant": "medium" },
|
||||||
|
"unspecified-high": { "model": "openai/gpt-5.4", "variant": "high" },
|
||||||
|
"writing": { "model": "ai-gateway/kimi-k2p5-turbo" }
|
||||||
|
},
|
||||||
|
"experimental": {
|
||||||
|
"disable_omo_env": true,
|
||||||
|
"dynamic_context_pruning": {
|
||||||
|
"enabled": true,
|
||||||
|
"notification": "detailed",
|
||||||
|
"turn_protection": {
|
||||||
|
"enabled": true,
|
||||||
|
"turns": 3
|
||||||
|
},
|
||||||
|
"protected_tools": [
|
||||||
|
"task",
|
||||||
|
"todowrite",
|
||||||
|
"todoread",
|
||||||
|
"lsp_rename",
|
||||||
|
"session_read",
|
||||||
|
"session_write",
|
||||||
|
"session_search"
|
||||||
|
],
|
||||||
|
"strategies": {
|
||||||
|
"deduplication": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"supersede_writes": {
|
||||||
|
"enabled": true,
|
||||||
|
"aggressive": false
|
||||||
|
},
|
||||||
|
"purge_errors": {
|
||||||
|
"enabled": true,
|
||||||
|
"turns": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git_master": {
|
||||||
|
"commit_footer": false,
|
||||||
|
"include_co_authored_by": false,
|
||||||
|
"git_env_prefix": "GIT_MASTER=1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
|
||||||
"agents": {
|
|
||||||
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
|
||||||
"hephaestus": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
|
|
||||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
|
||||||
"librarian": { "model": "litellm/minimax-m2.5" },
|
|
||||||
"explore": { "model": "litellm/grok-code-fast-1" },
|
|
||||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
|
||||||
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
|
||||||
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
|
||||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
|
||||||
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
|
||||||
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
|
||||||
},
|
|
||||||
"categories": {
|
|
||||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
|
||||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
|
||||||
"deep": { "model": "openai/gpt-5.3-codex", "variant": "medium" },
|
|
||||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
|
||||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
|
||||||
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
|
||||||
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "high" },
|
|
||||||
"writing": { "model": "google/gemini-3-flash-preview" }
|
|
||||||
},
|
|
||||||
"experimental": {
|
|
||||||
"dynamic_context_pruning": {
|
|
||||||
"enabled": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git_master": {
|
|
||||||
"commit_footer": false,
|
|
||||||
"include_co_authored_by": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+48
-39
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
"plugin": ["oh-my-opencode@latest"],
|
"plugin": ["oh-my-openagent@latest"],
|
||||||
"autoupdate": false,
|
"autoupdate": false,
|
||||||
"model": "anthropic/claude-opus-4-6",
|
"model": "anthropic/claude-opus-4-6",
|
||||||
"small_model": "anthropic/claude-haiku-4-5",
|
"small_model": "openai/gpt-5.4-mini",
|
||||||
"provider": {
|
"provider": {
|
||||||
"anthropic": {
|
"anthropic": {
|
||||||
"npm": "@ai-sdk/anthropic",
|
"npm": "@ai-sdk/anthropic",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
||||||
"apiKey": "{env:LITELLM_API_KEY}"
|
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"claude-opus-4-6": {
|
"claude-opus-4-6": {
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
"openai": {
|
"openai": {
|
||||||
"npm": "@ai-sdk/openai",
|
"npm": "@ai-sdk/openai",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
||||||
"apiKey": "{env:LITELLM_API_KEY}"
|
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"gpt-5.4": {
|
"gpt-5.4": {
|
||||||
@@ -45,12 +45,6 @@
|
|||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||||
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
||||||
},
|
},
|
||||||
"gpt-5.3-codex": {
|
|
||||||
"name": "GPT-5.3-Codex",
|
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
||||||
},
|
|
||||||
"gpt-5.4-mini": {
|
"gpt-5.4-mini": {
|
||||||
"name": "GPT-5.4 mini",
|
"name": "GPT-5.4 mini",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
@@ -59,40 +53,46 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"google": {
|
// "google": {
|
||||||
"npm": "@ai-sdk/google",
|
// "npm": "@ai-sdk/google",
|
||||||
|
// "options": {
|
||||||
|
// "baseURL": "{env:AI_GATEWAY_BASE_URL}/v1beta",
|
||||||
|
// "apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||||
|
// },
|
||||||
|
// "models": {
|
||||||
|
// "gemini-3.1-pro-preview": {
|
||||||
|
// "name": "Gemini 3.1 Pro",
|
||||||
|
// "reasoning": true,
|
||||||
|
// "modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||||
|
// "limit": { "context": 1048576, "output": 65536 }
|
||||||
|
// },
|
||||||
|
// "gemini-3-flash-preview": {
|
||||||
|
// "name": "Gemini 3 Flash",
|
||||||
|
// "reasoning": true,
|
||||||
|
// "modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||||
|
// "limit": { "context": 1048576, "output": 65536 }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
"ai-gateway": {
|
||||||
|
"name": "AI Gateway",
|
||||||
|
"npm": "@ai-sdk/openai-compatible",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "{env:LITELLM_BASE_URL}/v1beta",
|
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
||||||
"apiKey": "{env:LITELLM_API_KEY}"
|
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"gemini-3.1-pro-preview": {
|
"gemini-3.1-pro-preview": {
|
||||||
"name": "Gemini 3.1 Pro",
|
"name": "Gemini 3.1 Pro",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
"limit": { "context": 128000, "output": 128000 } // github copilot only has a 128k context size
|
||||||
},
|
},
|
||||||
"gemini-3-flash-preview": {
|
"glm-5.1": {
|
||||||
"name": "Gemini 3 Flash",
|
"name": "GLM-5.1",
|
||||||
"reasoning": true,
|
|
||||||
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"litellm": {
|
|
||||||
"name": "LiteLLM",
|
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
|
||||||
"options": {
|
|
||||||
"baseURL": "{env:LITELLM_BASE_URL}/v1",
|
|
||||||
"apiKey": "{env:LITELLM_API_KEY}"
|
|
||||||
},
|
|
||||||
"models": {
|
|
||||||
"grok-code-fast-1": {
|
|
||||||
"name": "Grok Code Fast 1",
|
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 256000, "output": 10000 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
},
|
},
|
||||||
"glm-5": {
|
"glm-5": {
|
||||||
"name": "GLM-5",
|
"name": "GLM-5",
|
||||||
@@ -100,14 +100,20 @@
|
|||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
},
|
},
|
||||||
|
"kimi-k2p5-turbo": {
|
||||||
|
"name": "Kimi K2.5 Turbo",
|
||||||
|
"reasoning": true,
|
||||||
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||||
|
"limit": { "context": 256000, "output": 256000 }
|
||||||
|
},
|
||||||
"kimi-k2.5": {
|
"kimi-k2.5": {
|
||||||
"name": "Kimi K2.5",
|
"name": "Kimi K2.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||||
"limit": { "context": 262144, "output": 262144 }
|
"limit": { "context": 262144, "output": 262144 }
|
||||||
},
|
},
|
||||||
"minimax-m2.5": {
|
"minimax-m2.7": {
|
||||||
"name": "MiniMax M2.5",
|
"name": "MiniMax M2.7",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": { "input": ["text"], "output": ["text"] },
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
@@ -115,6 +121,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"permission": {
|
||||||
|
"*": "allow"
|
||||||
|
},
|
||||||
"experimental": {
|
"experimental": {
|
||||||
"disable_paste_summary": true
|
"disable_paste_summary": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user