diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index bd89c9fb8c4..e03ca9afdca 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -16,7 +16,7 @@ import { useUnprivilegedToolStore } from "@/stores/unprivilegedToolStore"; import { useUserStore } from "@/stores/userStore"; import localize from "@/utils/localization"; -import ChatHistoryPanel from "../ChatGXY/ChatHistoryPanel.vue"; +import ChatHistoryPanel from "../GalaxyAI/ChatHistoryPanel.vue"; import InvocationsPanel from "../Panels/InvocationsPanel.vue"; import ActivityBarHeader from "./ActivityBarHeader.vue"; import ActivityBarSeparator from "./ActivityBarSeparator.vue"; @@ -127,7 +127,7 @@ const activities = computed({ if (activity.id === "interactivetools" && !config.value?.interactivetools_enable) { return false; } - if (activity.id === "chatgxy" && !config.value?.llm_api_configured) { + if (activity.id === "galaxyai" && !config.value?.llm_api_configured) { return false; } return true; @@ -139,7 +139,7 @@ const activities = computed({ (activity) => (activity.id === "user-defined-tools" && !canUseUnprivilegedTools.value) || (activity.id === "interactivetools" && !config.value?.interactivetools_enable) || - (activity.id === "chatgxy" && !config.value?.llm_api_configured), + (activity.id === "galaxyai" && !config.value?.llm_api_configured), ); storeActivities.value = [...newActivities, ...filteredOut]; }, @@ -425,7 +425,7 @@ defineExpose({ - + diff --git a/client/src/components/ChatGXY.vue b/client/src/components/GalaxyAI.vue similarity index 93% rename from client/src/components/ChatGXY.vue rename to client/src/components/GalaxyAI.vue index 19fc0ad06ee..fa387a330fb 100644 --- a/client/src/components/ChatGXY.vue +++ b/client/src/components/GalaxyAI.vue @@ -10,12 +10,12 @@ import { type AgentResponse, useAgentActions } from "@/composables/agentActions" import { useMarkdown } from "@/composables/markdown"; import { errorMessageAsString } from "@/utils/simple-error"; -import { getAgentIcon } from "./ChatGXY/agentTypes"; -import type { ChatHistoryItem, ChatMessage } from "./ChatGXY/chatTypes"; -import { generateId, scrollToBottom } from "./ChatGXY/chatUtils"; +import { getAgentIcon } from "./GalaxyAI/agentTypes"; +import type { ChatHistoryItem, ChatMessage } from "./GalaxyAI/chatTypes"; +import { generateId, scrollToBottom } from "./GalaxyAI/chatUtils"; -import ChatInput from "./ChatGXY/ChatInput.vue"; -import ChatMessageCell from "./ChatGXY/ChatMessageCell.vue"; +import ChatInput from "./GalaxyAI/ChatInput.vue"; +import ChatMessageCell from "./GalaxyAI/ChatMessageCell.vue"; import Heading from "@/components/Common/Heading.vue"; const props = withDefaults( @@ -71,7 +71,7 @@ function showWelcome() { id: generateId(), role: "assistant", content: - "Welcome to ChatGXY. Ask about tools, workflows, errors, or data quality " + + "Welcome to GalaxyAI. Ask about tools, workflows, errors, or data quality " + "and your question will be routed to the appropriate specialist agent.", timestamp: new Date(), agentType: "router", @@ -118,7 +118,7 @@ async function submitQuery() { }); if (error) { - const errorText = errorMessageAsString(error, "Failed to get response from ChatGXY."); + const errorText = errorMessageAsString(error, "Failed to get response from GalaxyAI."); const errorMsg: ChatMessage = { id: generateId(), role: "assistant", @@ -322,17 +322,17 @@ async function deleteCurrentChat() { function popOutToWindowManager() { const Galaxy = getGalaxyInstance(); - const path = currentChatId.value ? `/chatgxy/${currentChatId.value}` : "/chatgxy"; + const path = currentChatId.value ? `/galaxyai/${currentChatId.value}` : "/galaxyai"; const url = `${path}?compact=true`; - Galaxy.frame.add({ title: "ChatGXY", url }); + Galaxy.frame.add({ title: "GalaxyAI", url }); }