rm thoughts from generic parser
This commit is contained in:
parent
b829cab72f
commit
95cddfd8fb
1 changed files with 0 additions and 3 deletions
|
@ -282,9 +282,6 @@ static common_chat_msg common_chat_parse_generic(const std::string & input) {
|
|||
json data = json::parse(input);
|
||||
common_chat_msg result;
|
||||
result.role = "assistant";
|
||||
if (data.contains("thoughts")) {
|
||||
result.reasoning_content = data["thoughts"];
|
||||
}
|
||||
if (data.contains("tool_calls")) {
|
||||
for (const auto & tool_call : data["tool_calls"]) {
|
||||
result.tool_calls.push_back({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue