fix(providers): complete custom openai-responses support (#436)

This commit is contained in:
Felix
2026-03-12 16:19:05 +08:00
committed by GitHub
Unverified
parent 272432783a
commit c0c8701cc3
13 changed files with 414 additions and 67 deletions

View File

@@ -79,6 +79,8 @@
},
"protocols": {
"openai": "OpenAI Compatible",
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic Compatible"
},
"toast": {
@@ -245,4 +247,4 @@
"docs": "Website",
"github": "GitHub"
}
}
}

View File

@@ -67,6 +67,12 @@
"baseUrl": "Base URL",
"modelId": "Model ID",
"modelIdDesc": "The model identifier from your provider (e.g. deepseek-ai/DeepSeek-V3)",
"protocol": "Protocol",
"protocols": {
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic Compatible"
},
"apiKey": "API Key",
"save": "Save",
"validateSave": "Validate & Save",
@@ -138,4 +144,4 @@
"description": "Shell command execution"
}
}
}
}

View File

@@ -52,6 +52,7 @@
"replaceApiKeyHelp": "現在保存されている API キーをそのまま使う場合は、この欄を空のままにしてください。",
"baseUrl": "ベース URL",
"modelId": "モデル ID",
"protocol": "プロトコル",
"fallbackModels": "フォールバックモデル",
"fallbackProviders": "別プロバイダーへのフォールバック",
"fallbackModelIds": "同一プロバイダーのフォールバックモデル ID",
@@ -76,6 +77,12 @@
"editKey": "API キーを編集",
"delete": "プロバイダーを削除"
},
"protocols": {
"openai": "OpenAI 互換",
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic 互換"
},
"toast": {
"added": "プロバイダーが正常に追加されました",
"failedAdd": "プロバイダーの追加に失敗しました",
@@ -237,4 +244,4 @@
"docs": "公式サイト",
"github": "GitHub"
}
}
}

View File

@@ -67,6 +67,12 @@
"baseUrl": "ベース URL",
"modelId": "モデル ID",
"modelIdDesc": "プロバイダーのモデル識別子deepseek-ai/DeepSeek-V3",
"protocol": "プロトコル",
"protocols": {
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic 互換"
},
"apiKey": "API キー",
"save": "保存",
"validateSave": "検証して保存",
@@ -138,4 +144,4 @@
"description": "シェルコマンドの実行"
}
}
}
}

View File

@@ -79,6 +79,8 @@
},
"protocols": {
"openai": "OpenAI 兼容",
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic 兼容"
},
"toast": {
@@ -245,4 +247,4 @@
"docs": "官网",
"github": "GitHub"
}
}
}

View File

@@ -67,6 +67,12 @@
"baseUrl": "基础 URL",
"modelId": "模型 ID",
"modelIdDesc": "提供商的模型标识符(例如 deepseek-ai/DeepSeek-V3",
"protocol": "协议",
"protocols": {
"openaiCompletions": "OpenAI Completions",
"openaiResponses": "OpenAI Responses",
"anthropic": "Anthropic 兼容"
},
"apiKey": "API 密钥",
"save": "保存",
"validateSave": "验证并保存",
@@ -138,4 +144,4 @@
"description": "Shell 命令执行"
}
}
}
}