return thoughts in reasoning_content field
This commit is contained in:
parent
d1b66910c5
commit
39c1d8163b
5 changed files with 23 additions and 23 deletions
|
@ -745,8 +745,8 @@ struct server_task_result_cmpl_final : server_task_result {
|
|||
{"tool_calls", tool_calls},
|
||||
{"role", "assistant"},
|
||||
};
|
||||
if (!msg.thoughts.empty()) {
|
||||
message["thoughts"] = msg.thoughts;
|
||||
if (!msg.reasoning_content.empty()) {
|
||||
message["reasoning_content"] = msg.reasoning_content;
|
||||
}
|
||||
if (!msg.tool_plan.empty()) {
|
||||
message["tool_plan"] = msg.tool_plan;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue