Skip to content

Commit 2ade7fe

Browse files
committed
support thinking config
1 parent bd543a8 commit 2ade7fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

idl/thrift/coze/loop/llm/domain/runtime.thrift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ struct ModelConfig {
1313
8: optional i32 top_k
1414
9: optional double presence_penalty
1515
10: optional double frequency_penalty
16+
11: optional Thinking thinking
17+
}
18+
19+
struct Thinking {
20+
1: optional ThinkingOption thinking_option
1621
}
1722

1823
struct Message {
@@ -118,3 +123,8 @@ typedef string ImageURLDetail (ts.enum="true")
118123
const ImageURLDetail image_url_detail_auto = "auto"
119124
const ImageURLDetail image_url_detail_low = "low"
120125
const ImageURLDetail image_url_detail_high = "high"
126+
127+
typedef string ThinkingOption (ts.enum="true")
128+
const ThinkingOption thinking_option_disabled = "disabled"
129+
const ThinkingOption thinking_option_enabled = "enabled"
130+
const ThinkingOption thinking_option_auto = "auto"

0 commit comments

Comments
 (0)