Skip to content

Commit a58e1fc

Browse files
author
ochafik
committed
fix typo
1 parent 1acda5f commit a58e1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ json common_chat_msgs_to_json_oaicompat(const std::vector<common_chat_msg> & msg
134134
jmsg["name"] = msg.tool_name;
135135
}
136136
if (!msg.tool_call_id.empty()) {
137-
jmsg["tool_call_id"] = json::parse(msg.tool_call_id);
137+
jmsg["tool_call_id"] = msg.tool_call_id;
138138
}
139139
if (!msg.tool_calls.empty()) {
140140
auto & tool_calls = jmsg["tool_calls"] = json::array();

0 commit comments

Comments
 (0)