We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6946a83 commit 224101bCopy full SHA for 224101b
common/chat-parser.cpp
@@ -68,7 +68,7 @@ bool common_chat_msg_parser::add_tool_calls(const json & arr) {
68
}
69
void common_chat_msg_parser::finish() {
70
if (!is_partial_ && pos_ != input_.size()) {
71
- throw std::runtime_error("Unexpected content at end of input: " + input_.substr(pos_));
+ throw std::runtime_error("Unexpected content at end of input");// + input_.substr(pos_));
72
73
74
0 commit comments