Help us shape the future of Go! Take the 2026 Go Developer Survey

reasoning

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeepSeekV4EffortSuffixes = []string{"-none", "-max"}
View Source
var EffortSuffixes = []string{"-max", "-xhigh", "-high", "-medium", "-low", "-minimal"}
View Source
var OpenAIEffortSuffixes = []string{"-high", "-minimal", "-low", "-medium", "-none", "-xhigh"}

Functions

func ParseDeepSeekV4ThinkingSuffix added in v0.13.1

func ParseDeepSeekV4ThinkingSuffix(modelName string) (baseModel string, thinkingType string, effort string, ok bool)

func ParseOpenAIReasoningEffortFromModelSuffix added in v0.13.1

func ParseOpenAIReasoningEffortFromModelSuffix(modelName string) (string, string)

func TrimEffortSuffix

func TrimEffortSuffix(modelName string) (string, string, bool)

TrimEffortSuffix -> modelName level(low) exists

func TrimEffortSuffixWithSuffixes added in v0.13.1

func TrimEffortSuffixWithSuffixes(modelName string, suffixes []string) (string, string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL