Skip to content

Commit 95cddfd

Browse files
author
ochafik
committed
rm thoughts from generic parser
1 parent b829cab commit 95cddfd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

common/chat.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,6 @@ static common_chat_msg common_chat_parse_generic(const std::string & input) {
282282
json data = json::parse(input);
283283
common_chat_msg result;
284284
result.role = "assistant";
285-
if (data.contains("thoughts")) {
286-
result.reasoning_content = data["thoughts"];
287-
}
288285
if (data.contains("tool_calls")) {
289286
for (const auto & tool_call : data["tool_calls"]) {
290287
result.tool_calls.push_back({

0 commit comments

Comments
 (0)