chore: 为 provider 配置添加 npm 包声明

This commit is contained in:
2026-02-28 15:44:50 +08:00
parent f886e6b440
commit ff6d5f89be

View File

@@ -6,6 +6,7 @@
"plugin": ["oh-my-opencode@latest"],
"provider": {
"anthropic": {
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "{env:LITELLM_BASE_URL}/v1",
"apiKey": "{env:LITELLM_API_KEY}"
@@ -32,6 +33,7 @@
}
},
"openai": {
"npm": "@ai-sdk/openai",
"options": {
"baseURL": "{env:LITELLM_BASE_URL}/v1",
"apiKey": "{env:LITELLM_API_KEY}"
@@ -52,6 +54,7 @@
}
},
"google": {
"npm": "@ai-sdk/google",
"options": {
"baseURL": "{env:LITELLM_BASE_URL}/v1beta",
"apiKey": "{env:LITELLM_API_KEY}"