We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4690db1 commit 2544486Copy full SHA for 2544486
common/chat.cpp
@@ -296,9 +296,7 @@ json common_chat_msgs_to_json_oaicompat(const std::vector<common_chat_msg> & msg
296
}
297
if (!msg.reasoning_content.empty()) {
298
jmsg["reasoning_content"] = msg.reasoning_content;
299
-
300
- // gpt-oss requires the thinking field for tool calls
301
- jmsg["thinking"] = msg.reasoning_content;
+ jmsg["thinking"] = msg.reasoning_content; // gpt-oss
302
303
if (!msg.tool_name.empty()) {
304
jmsg["name"] = msg.tool_name;
0 commit comments