feat: update models
This commit is contained in:
parent
80013cee3b
commit
b1013db0b4
|
@ -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),
|
||||
|
|
|
@ -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)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue