From 91531286b238c58e00c59f03cf145f49febe8f4d Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 14 Jul 2026 01:09:00 +0530 Subject: [PATCH] fix: update terminology from "language model" to "chat model" across various components --- .../subagents/builtins/deliverables/tools/report.py | 2 +- .../subagents/builtins/deliverables/tools/resume.py | 2 +- .../model-connections/model-connections-mutation.atoms.ts | 2 +- surfsense_web/components/assistant-ui/thread.tsx | 4 ++-- surfsense_web/messages/en.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/report.py b/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/report.py index e95d6f61e..df9d2120e 100644 --- a/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/report.py +++ b/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/report.py @@ -773,7 +773,7 @@ def create_generate_report_tool( if not llm: error_msg = ( - "No LLM configured. Please configure a language model in Settings." + "No LLM configured. Please configure a chat model in Settings." ) report_id = await _save_failed_report(error_msg) return _failed( diff --git a/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/resume.py b/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/resume.py index c3475fb45..1c59bf034 100644 --- a/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/resume.py +++ b/surfsense_backend/app/agents/chat/multi_agent_chat/subagents/builtins/deliverables/tools/resume.py @@ -585,7 +585,7 @@ def create_generate_resume_tool( if not llm: error_msg = ( - "No LLM configured. Please configure a language model in Settings." + "No LLM configured. Please configure a chat model in Settings." ) report_id = await _save_failed_report(error_msg) return _failed( diff --git a/surfsense_web/atoms/model-connections/model-connections-mutation.atoms.ts b/surfsense_web/atoms/model-connections/model-connections-mutation.atoms.ts index 77fccc1d1..5e7e87b04 100644 --- a/surfsense_web/atoms/model-connections/model-connections-mutation.atoms.ts +++ b/surfsense_web/atoms/model-connections/model-connections-mutation.atoms.ts @@ -41,7 +41,7 @@ async function warnIfWorkspaceChatDisabled(workspaceId: number) { queryFn: () => modelConnectionsApiService.getLlmSetupStatus(workspaceId), }); if (status?.status === "needs_setup") { - toast.warning("Chat is now disabled. Connect a language model to start chatting again."); + toast.warning("Chat is now disabled. Connect a chat model to start chatting again."); } } catch { // Non-fatal: the inline composer notice still reflects the state. diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 9e03c2577..d3210cd87 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -470,8 +470,8 @@ const ChatUnavailableNotice: FC<{ workspaceId: number; canConfigure: boolean }> {canConfigure - ? "Connect a language model to start chatting." - : "No model available. Ask a workspace admin to connect a language model."} + ? "Connect a chat model to start chatting." + : "No model available. Ask a workspace admin to connect a chat model."}
diff --git a/surfsense_web/messages/en.json b/surfsense_web/messages/en.json index 84a33a6b1..15a75cc6f 100644 --- a/surfsense_web/messages/en.json +++ b/surfsense_web/messages/en.json @@ -587,7 +587,7 @@ "add_provider_subtitle": "Configure your first model provider to get started", "add_provider_button": "Add Provider", "add_new_llm_provider": "Add New LLM Provider", - "configure_new_provider": "Configure a new language model provider for your AI assistant", + "configure_new_provider": "Configure a new chat model provider for your AI assistant", "config_name": "Configuration Name", "config_name_required": "Configuration Name *", "config_name_placeholder": "e.g., My OpenAI GPT-4",