Deepseek V3.1 native tool calling support (OpenAI Style) #15533
Add DeepSeek V3.1 thinking mode support
0d96944f
Another attempt by V3.1 non-thinking
3912fd30
Fix test, but it's not asserting anything.
bac6c99c
Ignore vim swap files in tests dir
fe86282e
Update the test
3d00d625
Try using try_find_literal instead of regex
c50d887e
passing test
3f319aa8
Revert "Try using try_find_literal instead of regex"
79f7ca3e
Remove unnecessary change
0d959ba8
Remove comment
6223c1cb
Add code to handle non-thinking mode.
0d372f45
Try to set message['prefix'] when thinking is enabled.
f0da1164
This fixes reasoning, but breaks normal content. We need state in the
56f7e388
DeepSeek V3.1 thinking is now the default. Disable with `--reasoning-…
f4f0ddb8
Simplify (DeepSeek V3.1 reasoning)
f7d2ee9c
CISC
commented
on 2025-08-24
Fix sign inversion bug
7ac92ca8
createthis
marked this pull request as draft 116 days ago
Add some tool calling code (not working).
be0b2b8c
Tool calls working in non-reasoning mode.
776d95b2
createthis
marked this pull request as ready for review 116 days ago
Attempt a unit test for tool call parsing.
a32cad15
Passing test
52d54886
Add tests for both happy path and broken fenced DeepSeek V3.1 tool ca…
a839be7c
Passing DeepSeek V3.1 tool call tests, but model is not working.
6ade60ec
Revert assistance response prefill change. Not my monkeys.
79d4812f
Add fenced_thinking unit test variant. Passes, but thinking tool calling
36b047cf
Tests pass in reasoning mode. Also e2e tool test passes.
bdfa87f7
Make a copy of the parse_json_tool_calls function for deepseek-v3.1 so
0e367617
Merge pull request #7 from createthis/deepseek_3_1_thinking_mode_danger
4cb47f31
Fix thinking_forced_open logic. tool calling broken. Need to add another
ab22c767
That's what I get for cargo culting a newline.
4a2d17d9
Add multi tool call test for deepseek v3.1 non-reasoning
b2d57cef
Merge branch 'master' into deepseek_3_1_thinking_mode
f422fe70
Move test, remove .gitignore change
7dc19e83
Place deepseek-v3.1 reasoning test directly into existing reasoning
380146e6
Address whitespace CI failure.
90567071
CISC
commented
on 2025-08-29
CISC
commented
on 2025-08-29
Merge two assert_equals per CISC's request.
a406d6a2
Add DeepSeek-V3.1 tests to tests/test-chat.cpp per CISC's request.
ec984da1
Merge branch 'master' into deepseek_3_1_thinking_mode
92003d7a
Merge deepseek V3.1 and regular parse_json_tool_calls() function
f661dbe3
CISC
requested changes
on 2025-08-31
Update tests/test-chat-parser.cpp
12b013f7
Update tests/test-chat-parser.cpp
800af009
Update tests/test-chat-parser.cpp
80a7e1c4
Update tests/test-chat-parser.cpp
155852a6
Update tests/test-chat-parser.cpp
e5878081
Update tests/test-chat-parser.cpp
ac6ed1e0
Update tests/test-chat-parser.cpp
3843d94d
Update tests/test-chat-parser.cpp
67737082
Update tests/test-chat-parser.cpp
befa31c6
CISC
commented
on 2025-08-31
DeepSeek V3.1 fix reasoning_format none
77955943
Merge branch 'master' into deepseek_3_1_thinking_mode
3dee75a1
Strip grammar down to strictly what we expect based on model card. Throw
a7316b06
Merge pull request #8 from createthis/deepseek_3_1_thinking_mode_expe…
707cde18
CISC
approved these changes
on 2025-09-04
Update tests/test-chat-parser.cpp
e3fe1ce0
Merge branch 'master' into deepseek_3_1_thinking_mode
25034ebd
createthis
marked this pull request as draft 105 days ago
DeepSeek V3.1 - Add edge case where thinking is forced open, there is
9830e7e3
createthis
marked this pull request as ready for review 104 days ago
Merge branch 'master' into deepseek_3_1_thinking_mode
91bc6157
DeepSeek V3.1 - simplify update_cursor
26b02fa8
createthis
changed the title Deepseek V3.1 thinking mode is the default Deepseek V3.1 tool calling support 102 days ago
createthis
changed the title Deepseek V3.1 tool calling support Deepseek V3.1 native tool calling support (OpenAI Style) 102 days ago
CISC
approved these changes
on 2025-09-08
Update common/chat.cpp
3ccc6519
Update common/chat.cpp
e23eedd1
Update common/chat.cpp
cf17a8e3
Fix indent
4c2179d2
CISC
merged
88021565
into master 102 days ago
Assignees
No one assigned
Labels
testing
examples
server
Login to write a write a comment.
Login via GitHub