Skip to content

Commit 2544486

Browse files
committed
simplfy comment
1 parent 4690db1 commit 2544486

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/chat.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ json common_chat_msgs_to_json_oaicompat(const std::vector<common_chat_msg> & msg
296296
}
297297
if (!msg.reasoning_content.empty()) {
298298
jmsg["reasoning_content"] = msg.reasoning_content;
299-
300-
// gpt-oss requires the thinking field for tool calls
301-
jmsg["thinking"] = msg.reasoning_content;
299+
jmsg["thinking"] = msg.reasoning_content; // gpt-oss
302300
}
303301
if (!msg.tool_name.empty()) {
304302
jmsg["name"] = msg.tool_name;

0 commit comments

Comments
 (0)