Skip to content

Commit e30f361

Browse files
committed
feat(alibaba-cn): add reasoning content support for Kimi models
Add interleaved reasoning_content field to Kimi K2 Thinking and K2.5. Also correct the display name for Moonshot Kimi K2.5.
1 parent efa90f6 commit e30f361

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

providers/alibaba-cn/models/kimi-k2-thinking.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ tool_call = true
99
open_weights = true
1010
structured_output = true
1111

12+
[interleaved]
13+
field = "reasoning_content"
14+
1215
[cost]
1316
input = 0.574
1417
output = 2.294

providers/alibaba-cn/models/kimi-k2.5.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "Moonshot Kimi K2 Thinking"
1+
name = "Moonshot Kimi K2.5"
22
family = "kimi"
33
release_date = "2025-01-27"
44
last_updated = "2025-01-27"
@@ -9,6 +9,9 @@ tool_call = true
99
open_weights = true
1010
structured_output = false
1111

12+
[interleaved]
13+
field = "reasoning_content"
14+
1215
[cost]
1316
input = 0.574
1417
output = 2.411

0 commit comments

Comments
 (0)