chore: upgrade OpenAI default model to gpt-5.2

This commit is contained in:
tinkle-community
2025-12-12 22:12:17 +08:00
parent ed041b9183
commit 5391f39749
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
const (
ProviderOpenAI = "openai"
DefaultOpenAIBaseURL = "https://api.openai.com/v1"
DefaultOpenAIModel = "gpt-5.1"
DefaultOpenAIModel = "gpt-5.2"
)
type OpenAIClient struct {
+1 -1
View File
@@ -69,7 +69,7 @@ const AI_PROVIDER_CONFIG: Record<string, {
apiName: 'Alibaba Cloud',
},
openai: {
defaultModel: 'gpt-5.1',
defaultModel: 'gpt-5.2',
apiUrl: 'https://platform.openai.com/api-keys',
apiName: 'OpenAI',
},