mirror of
https://github.com/mudler/LocalAI
synced 2026-04-21 13:27:21 +00:00
8 lines
442 B
Go
8 lines
442 B
Go
package reasoning
|
|
|
|
type ReasoningConfig struct {
|
|
// ThinkingForcedOpen indicates that the model outputs reasoning without an opening tag.
|
|
// When true, all content from the start is treated as reasoning until a closing tag is found.
|
|
// This is useful for models like GLM-4 that output reasoning without <think> but end with </think>.
|
|
ThinkingForcedOpen bool `yaml:"thinking_forced_open,omitempty" json:"thinking_forced_open,omitempty"`
|
|
}
|