feat: update reasoning model
This commit is contained in:
parent
5f57a21357
commit
80013cee3b
|
@ -29,15 +29,14 @@ func handleReasonCmd(c tele.Context) error {
|
|||
}
|
||||
|
||||
req := openai.ChatRequest{
|
||||
Model: openai.ModelO1Mini,
|
||||
Model: openai.ModelO3Mini,
|
||||
Messages: []openai.ChatMessage{
|
||||
{
|
||||
Role: openai.ChatRoleUser,
|
||||
Content: payload,
|
||||
},
|
||||
},
|
||||
// reasoning_effort is only available to `o1` and `o3-mini`, which is not yet accessible.
|
||||
// ReasoningEffort: openai.ReasoningEffortHigh,
|
||||
ReasoningEffort: openai.ReasoningEffortHigh,
|
||||
}
|
||||
|
||||
replyMsg, err := c.Bot().Reply(msg, reasoningIndicatorMessage, tele.Silent)
|
||||
|
|
Loading…
Reference in New Issue