1
0
forked from agents/opencode

feat: 启用缓存键设置提升模型请求缓存效率

- 启用缓存键设置以提升模型请求的缓存效率。
This commit is contained in:
2026-02-07 16:13:38 +08:00
parent 420563a2aa
commit d574e9e301

View File

@@ -12,7 +12,8 @@
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1",
"apiKey": "{env:CPA_API_KEY}"
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"claude-opus-4-6": {
@@ -42,7 +43,8 @@
"npm": "@ai-sdk/google",
"options": {
"baseURL": "https://cpa.furtherverse.com/v1beta",
"apiKey": "{env:CPA_API_KEY}"
"apiKey": "{env:CPA_API_KEY}",
"setCacheKey": true
},
"models": {
"gemini-3-pro": {