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 2476e13 commit 847d27cCopy full SHA for 847d27c
common/chat.cpp
@@ -2212,11 +2212,6 @@ static void common_chat_parse_glm_4_5(common_chat_msg_parser & builder) {
2212
// Test if arg_val is a partial JSON
2213
std::optional<common_json> value_json = std::nullopt;
2214
try { value_json = builder.try_consume_json(); }
2215
- catch (const common_chat_msg_partial_exception &partial) {
2216
- gen_partial_args([&](auto &&, auto &&needle){arguments[key] = needle;});
2217
- throw;
2218
- }
2219
- catch (const json::exception&) { builder.move_to(val_start); }
2220
catch (const std::runtime_error&) { builder.move_to(val_start); }
2221
2222
// If it is a JSON and followed by </arg_value>, parse as json
0 commit comments