fix(vis): Fix think message error

This commit is contained in:
Fangyin Cheng 2025-06-27 17:55:36 +08:00
parent 000cf5a97b
commit 69fa83cb18

View File

@ -7,12 +7,12 @@ class VisThinking(Vis):
@classmethod
async def build_message(cls, message: str) -> str:
vis = VisThinking()
return f"```{vis.vis_tag()}\n{message}\n```"
return f"``````{vis.vis_tag()}\n{message}\n``````"
def sync_display(self, **kwargs) -> str:
"""Display the content using the vis protocol."""
content = kwargs.get("content")
return f"```{self.vis_tag()}\n{content}\n```"
return f"``````{self.vis_tag()}\n{content}\n``````"
@classmethod
def vis_tag(cls):