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 7256569 commit 4453fdeCopy full SHA for 4453fde
common/chat.cpp
@@ -1363,7 +1363,7 @@ static void common_chat_parse_gpt_oss(common_chat_msg_parser & builder) {
1363
"functions\\.([a-zA-Z_][a-zA-Z0-9_]*)\\s?(?:<\\|constrain\\|>([a-zA-Z]+))?<\\|message\\|>"
1364
);
1365
static const common_regex browser_tool_call_regex("browser\\.(search|open|find)[\\s\\S]*<\\|message\\|>");
1366
- static const common_regex python_tool_call_regex("python\\s?(?:<|constrain|>code)?<\\|message\\|>");
+ static const common_regex python_tool_call_regex("python\\s?(?:code)?<\\|message\\|>");
1367
1368
auto consume_until_start = [&]() {
1369
if (auto res = builder.try_find_regex(start_regex, std::string::npos, false)) {
0 commit comments