Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/edit/configure/imports/toolCatalog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ const featuredTools: FeaturedTools = {
{
name: "Vision",
description: "Allows the assistant to interact with images.",
url: "github.com/gptscript-ai/gpt4-v-vision",
url: "github.com/gptscript-ai/gpt4-v-vision@gateway",
tags: ["vision", "images", "ai"],
icon: <BsEye className="text-7xl"/>
},
{
name: "Image Generation",
description: "Allows the assistant to generate images.",
url: "github.com/gptscript-ai/dalle-image-generation",
url: "github.com/gptscript-ai/dalle-image-generation@gateway",
tags: ["images", "ai", "generation"],
icon: <FaPaintBrush className="text-7xl"/>
},
Expand Down Expand Up @@ -124,7 +124,7 @@ const featuredTools: FeaturedTools = {
{
name: "Knowledge",
description: "Provides the assistant with information based context.",
url: "github.com/gptscript-ai/knowledge",
url: "github.com/gptscript-ai/knowledge@gateway",
tags: ["knowledge", "rag"],
icon: <GoBook className="text-7xl"/>,
},
Expand Down
6 changes: 3 additions & 3 deletions components/script/chatBar/commands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ export default function Commands({text, setText, isOpen, setIsOpen, children }:
})
.finally(() => {
setMessages((prev) => [...prev, ...addedMessages])
if (!tool || tool.tools?.includes("github.com/gptscript-ai/knowledge")) return;
setTool((prev) => ({...prev, tools: [...prev.tools || [], "github.com/gptscript-ai/knowledge"]}));
socket?.emit("addTool", "github.com/gptscript-ai/knowledge");
if (!tool || tool.tools?.includes("github.com/gptscript-ai/knowledge@gateway")) return;
setTool((prev) => ({...prev, tools: [...prev.tools || [], "github.com/gptscript-ai/knowledge@gateway"]}));
socket?.emit("addTool", "github.com/gptscript-ai/knowledge@gateway");
})
);
}
Expand Down