feat: update models

This commit is contained in:
Yiyang Kang 2025-02-28 18:15:09 +09:00
parent 80013cee3b
commit b1013db0b4
2 changed files with 6 additions and 5 deletions

View File

@ -234,7 +234,7 @@ func handleAssistantConversation(c tele.Context, thread []*tele.Message) error {
}
req := openai.ChatRequest{
Model: openai.ModelGpt4O,
Model: openai.ModelGpt45,
Messages: chatReqMsgs,
Temperature: lo.ToPtr(0.42),
User: assistantHashUserId(lastMsg.Sender.ID),

View File

@ -1,8 +1,9 @@
package openai
const (
ModelGpt4O = "gpt-4o" // Safe default
ModelO1Preview = "o1-preview" // Expensive reasoning model
ModelO1Mini = "o1-mini" // Cheaper reasoning model
ModelO3Mini = "o3-mini" // Cheaper yet powerful reasoning model
ModelGpt4O = "gpt-4o" // Safe default
ModelO1Preview = "o1-preview" // Expensive reasoning model
ModelO1Mini = "o1-mini" // Cheaper reasoning model
ModelO3Mini = "o3-mini" // Cheaper yet powerful reasoning model
ModelGpt45 = "gpt-4.5-preview" // Bleeding edge (and expensive)
)