mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-17 17:34:39 +08:00
chore: upgrade OpenAI default model to gpt-5.2
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
ProviderOpenAI = "openai"
|
ProviderOpenAI = "openai"
|
||||||
DefaultOpenAIBaseURL = "https://api.openai.com/v1"
|
DefaultOpenAIBaseURL = "https://api.openai.com/v1"
|
||||||
DefaultOpenAIModel = "gpt-5.1"
|
DefaultOpenAIModel = "gpt-5.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OpenAIClient struct {
|
type OpenAIClient struct {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ const AI_PROVIDER_CONFIG: Record<string, {
|
|||||||
apiName: 'Alibaba Cloud',
|
apiName: 'Alibaba Cloud',
|
||||||
},
|
},
|
||||||
openai: {
|
openai: {
|
||||||
defaultModel: 'gpt-5.1',
|
defaultModel: 'gpt-5.2',
|
||||||
apiUrl: 'https://platform.openai.com/api-keys',
|
apiUrl: 'https://platform.openai.com/api-keys',
|
||||||
apiName: 'OpenAI',
|
apiName: 'OpenAI',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user