diff --git a/mindsearch/agent/mindsearch_agent.py b/mindsearch/agent/mindsearch_agent.py index 957da44..33f1ab5 100644 --- a/mindsearch/agent/mindsearch_agent.py +++ b/mindsearch/agent/mindsearch_agent.py @@ -215,6 +215,7 @@ def stream_chat(self, message, **kwargs): model_state.name) yield deepcopy(agent_return) return + response = response.replace('<|plugin|>', '<|interpreter|>') _, language, action = self._protocol.parse(response) if not language and not action: continue