feat: update reasoning model

This commit is contained in:
Yiyang Kang 2025-02-28 18:14:55 +09:00
parent 5f57a21357
commit 80013cee3b
1 changed files with 2 additions and 3 deletions

View File

@ -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)