server: update deepseek reasoning format (pass reasoning_content as diffs) (#13933)

* server: update deepseek reasoning format (now in reasoning_content diffs), add legacy option for compat
* update unit/test_tool_call.py::test_thoughts
This commit is contained in:
Olivier Chafik 2025-06-02 10:15:44 -07:00 committed by GitHub
parent bfd322796c
commit c9bbc77931
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 30 additions and 19 deletions

View file

@ -70,7 +70,7 @@ struct common_chat_msg {
};
struct common_chat_msg_diff {
// std::string reasoning_content_delta;
std::string reasoning_content_delta;
std::string content_delta;
size_t tool_call_index = std::string::npos;
common_chat_tool_call tool_call_delta;