Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
💬 feat: Explain Steering & Queuing at Every User-Facing Surface (#14260)
Danny Avila5b0330fdfb7d
diff --git a/client/src/components/Chat/Messages/Content/Parts/SteerPart.tsx b/client/src/components/Chat/Messages/Content/Parts/SteerPart.tsxindex 92937e792a..299837ef93 100644--- a/client/src/components/Chat/Messages/Content/Parts/SteerPart.tsx+++ b/client/src/components/Chat/Messages/Content/Parts/SteerPart.tsx@@ -2,6 +2,7 @@ import { memo, useMemo, useState, useCallback } from 'react';import { X } from 'lucide-react';import { useAtomValue } from 'jotai';import { useRecoilValue } from 'recoil';+import { InfoHoverCard, ESide } from '@librechat/client';import type { TFile, TMessage } from 'librechat-data-provider';import type { TMessageIcon } from '~/common';import FilePreviewDialog from '~/components/Chat/Messages/Content/FilePreviewDialog';@@ -101,8 +102,10 @@ const SteerPart = memo(function SteerPart({</div></div><div className="user-turn relative flex w-11/12 flex-col">- <h2 className={cn('select-none font-semibold', fontSize)}>+ <h2 className={cn('flex select-none items-center gap-1.5 font-semibold', fontSize)}>{label}+ {/* Subtle "?" explaining why a user message appears inside the response. */}+ <InfoHoverCard side={ESide.Top} text={localize('com_ui_steered_info')} /><MessageTimestamp value={timestamp} />{onCancel != null && (<buttondiff --git a/client/src/components/Chat/Messages/Content/Parts/__tests__/SteerPart.test.tsx b/client/src/components/Chat/Messages/Content/Parts/__tests__/SteerPart.test.tsxindex 0e16340a12..e636882655 100644--- a/client/src/components/Chat/Messages/Content/Parts/__tests__/SteerPart.test.tsx+++ b/client/src/components/Chat/Messages/Content/Parts/__tests__/SteerPart.test.tsx@@ -72,4 +72,11 @@ describe('SteerPart author label', () => {expect(screen.queryByText('Danny')).toBeNull();expect(screen.getByText('com_user_message')).toBeInTheDocument();});++ it('shows a subtle info affordance explaining the mid-run message', () => {+ renderPart();+ // The "?" InfoHoverCard clarifies why a user message appears inside the+ // assistant response (its text is the trigger's accessible label).+ expect(screen.getByLabelText('com_ui_steered_info')).toBeInTheDocument();+ });});diff --git a/client/src/components/Nav/SettingsTabs/Chat/DuringRunAction.tsx b/client/src/components/Nav/SettingsTabs/Chat/DuringRunAction.tsxindex 60af50a842..cb1825c9d3 100644--- a/client/src/components/Nav/SettingsTabs/Chat/DuringRunAction.tsx+++ b/client/src/components/Nav/SettingsTabs/Chat/DuringRunAction.tsx@@ -1,6 +1,6 @@import React from 'react';import { useRecoilState } from 'recoil';-import { Button } from '@librechat/client';+import { Button, InfoHoverCard, ESide } from '@librechat/client';import { useLocalize } from '~/hooks';import store from '~/store';@@ -27,6 +27,7 @@ const DuringRunAction = () => {<div className="flex items-center justify-between"><div className="flex items-center space-x-2"><span id="during-run-action-label">{localize('com_nav_during_run_action')}</span>+ <InfoHoverCard side={ESide.Bottom} text={localize('com_nav_info_during_run_action')} /></div><Buttonvariant="outline"diff --git a/client/src/locales/en/translation.json b/client/src/locales/en/translation.jsonindex 8e626a1ea0..0a9730b33d 100644--- a/client/src/locales/en/translation.json+++ b/client/src/locales/en/translation.json@@ -518,6 +518,7 @@"com_nav_help_faq": "Help & FAQ","com_nav_info_balance": "Balance shows how many token credits you have left to use. Token credits translate to monetary value (e.g., 1000 credits = $0.001 USD)","com_nav_info_default_temporary_chat": "When enabled, new chats will start with temporary chat mode activated by default. Temporary chats are not saved to your history.",+ "com_nav_info_during_run_action": "Choose what pressing Enter does while the assistant is still responding. \"Steer the response\" inserts your message into the current response at its next step; \"Queue for after\" sends it as a new turn once the response finishes. You can always override this per message from the send button.","com_nav_info_enter_to_send": "When enabled, pressing `ENTER` will send your message. When disabled, pressing Enter will add a new line, and you'll need to press `CTRL + ENTER` / `⌘ + ENTER` to send your message.","com_nav_info_fork_change_default": "`Visible messages only` includes just the direct path to the selected message. `Include related branches` adds branches along the path. `Include all to/from here` includes all connected messages and branches.","com_nav_info_fork_split_target_setting": "When enabled, forking will commence from the target message to the latest message in the conversation, according to the behavior selected.",@@ -1874,6 +1875,7 @@"com_ui_steer_paused_queued": "The agent is waiting for your review — your message was queued instead","com_ui_steer_retry": "Retry steering","com_ui_steer_send": "Steer the current response",+ "com_ui_steered_info": "You added this message while the response was generating, so it was inserted into the response at this point.","com_ui_stop": "Stop","com_ui_storage": "Storage","com_ui_storage_filter_sort": "Filter and Sort by Storage",