chore: disable external and frontend tools
This commit is contained in:
@@ -207,9 +207,6 @@ export const updateLastAssistantQuestion = (
|
||||
});
|
||||
|
||||
const getToolArtifactKind = (tool: string): ToolArtifactKind => {
|
||||
if (tool === "zoom_to_map") {
|
||||
return "map";
|
||||
}
|
||||
return "tool";
|
||||
};
|
||||
|
||||
@@ -217,7 +214,6 @@ const getToolArtifactTitle = (tool: string, params: Record<string, unknown>) =>
|
||||
if (typeof params.title === "string" && params.title.trim()) {
|
||||
return params.title.trim();
|
||||
}
|
||||
if (tool === "zoom_to_map") return "缩放到地图坐标";
|
||||
return tool || "工具调用";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user