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 7e44fbe commit 91108c1Copy full SHA for 91108c1
common/chat.cpp
@@ -366,7 +366,7 @@ static common_chat_params common_chat_params_init_command_r7b(const common_chat_
366
}
367
static common_chat_msg common_chat_parse_command_r7b(const std::string & input) {
368
static std::regex response_regex("<\\|START_RESPONSE\\|>([\\s\\S\\n\\r]*?)<\\|END_RESPONSE\\|>");
369
- static std::regex thought_action_regex("<\\|START_THINKING\\|>([\\s\\S\\n\\r]*)<\\|END_THINKING\\|><\\|START_ACTION\\|>([\\s\\S\\n\\r]*?)<\\|END_ACTION\\|>");
+ static std::regex thought_action_regex("<\\|START_THINKING\\|>([\\s\\S\\n\\r]*?)<\\|END_THINKING\\|><\\|START_ACTION\\|>([\\s\\S\\n\\r]*?)<\\|END_ACTION\\|>");
370
std::smatch match;
371
372
common_chat_msg result;
0 commit comments