You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -106,10 +108,10 @@ class Qwen3CoderToolParser : public BaseOutputParser {
106
108
staticconst std::string tagEnd;
107
109
108
110
private:
109
-
const ToolsSchemas_t& toolSchemas; // we need to keep reference as this is not filled in OpenAIApiHandler during ToolParser creation, NOTE that its const here but it can change outside
110
-
ToolsParameterTypeMap_t toolsParametersTypes;// FIXME do it once per request
111
+
const ToolsSchemas_t& toolSchemas; // we need to keep reference as this is not filled in OpenAIApiHandler during ToolParser creation, NOTE that its const here but it can change outside
112
+
ToolsParameterTypeMap_t toolsParametersTypes;
111
113
bool filledParametersTypesMap{false};
112
-
// streaming
114
+
//for streaming parsing we need to keep parser as a member
113
115
Qwen3CoderToolParserImpl streamParser;
114
116
int toolCallIndex{-1};
115
117
ToolCalls currentToolCalls;
@@ -125,15 +127,15 @@ class Qwen3CoderToolParser : public BaseOutputParser {
0 commit comments