File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
backend/modules/llm/domain/entity Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 77 "strconv"
88
99 "github.com/bytedance/sonic"
10- "github.com/pkg/errors"
11-
1210 "github.com/coze-dev/coze-loop/backend/pkg/lang/ptr"
11+ "github.com/pkg/errors"
1312)
1413
1514type Model struct {
@@ -143,6 +142,21 @@ type Ability struct {
143142 JsonMode bool `json:"json_mode" yaml:"json_mode" mapstructure:"json_mode"`
144143 MultiModal bool `json:"multi_modal" yaml:"multi_modal" mapstructure:"multi_modal"`
145144 AbilityMultiModal * AbilityMultiModal `json:"ability_multi_modal" yaml:"ability_multi_modal" mapstructure:"ability_multi_modal"`
145+ Thinking * Thinking `json:"thinking" yaml:"thinking" mapstructure:"thinking"`
146+ }
147+
148+ type Thinking struct {
149+ ThinkingType * ThinkingType `json:"thinking_type" yaml:"thinking_type" mapstructure:"thinking_type"`
150+ }
151+
152+ type ThinkingType struct {
153+ Enabled bool `json:"enabled" yaml:"enabled" mapstructure:"enabled"`
154+ ThinkingTypeOptions []ThinkingTypeOption `json:"thinking_type_options" yaml:"thinking_type_options" mapstructure:"thinking_type_options"`
155+ }
156+
157+ type ThinkingTypeOption struct {
158+ Value string `json:"value" yaml:"value" mapstructure:"value"`
159+ Label string `json:"label" yaml:"label" mapstructure:"label"`
146160}
147161
148162type AbilityMultiModal struct {
You can’t perform that action at this time.
0 commit comments