fix: update terminology from "language model" to "chat model" across various components

This commit is contained in:
Anish Sarkar 2026-07-14 01:09:00 +05:30
parent 527ce2d97b
commit 91531286b2
5 changed files with 6 additions and 6 deletions

View file

@ -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(

View file

@ -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(

View file

@ -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.

View file

@ -470,8 +470,8 @@ const ChatUnavailableNotice: FC<{ workspaceId: number; canConfigure: boolean }>
<AlertCircle className="size-4 shrink-0" />
<span className="truncate">
{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."}
</span>
</div>
<div className="min-w-0 flex-1" />

View file

@ -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",