feat: 启用缓存键设置提升模型请求缓存效率
- 启用缓存键设置以提升模型请求的缓存效率。
This commit is contained in:
@@ -12,7 +12,8 @@
|
|||||||
"npm": "@ai-sdk/anthropic",
|
"npm": "@ai-sdk/anthropic",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://cpa.furtherverse.com/v1",
|
"baseURL": "https://cpa.furtherverse.com/v1",
|
||||||
"apiKey": "{env:CPA_API_KEY}"
|
"apiKey": "{env:CPA_API_KEY}",
|
||||||
|
"setCacheKey": true
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"claude-opus-4-6": {
|
"claude-opus-4-6": {
|
||||||
@@ -42,7 +43,8 @@
|
|||||||
"npm": "@ai-sdk/google",
|
"npm": "@ai-sdk/google",
|
||||||
"options": {
|
"options": {
|
||||||
"baseURL": "https://cpa.furtherverse.com/v1beta",
|
"baseURL": "https://cpa.furtherverse.com/v1beta",
|
||||||
"apiKey": "{env:CPA_API_KEY}"
|
"apiKey": "{env:CPA_API_KEY}",
|
||||||
|
"setCacheKey": true
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"gemini-3-pro": {
|
"gemini-3-pro": {
|
||||||
|
|||||||
Reference in New Issue
Block a user