refactor(thinking): refine configuration logging

This commit is contained in:
hkfires
2026-01-15 09:51:30 +08:00
parent ed8b0f25ee
commit f6a2d072e6
4 changed files with 61 additions and 19 deletions

View File

@@ -20,6 +20,22 @@ const (
ModeAuto
)
// String returns the string representation of ThinkingMode.
func (m ThinkingMode) String() string {
switch m {
case ModeBudget:
return "budget"
case ModeLevel:
return "level"
case ModeNone:
return "none"
case ModeAuto:
return "auto"
default:
return "unknown"
}
}
// ThinkingLevel represents a discrete thinking level.
type ThinkingLevel string