feat(webui): surface composer shortcut hints (#6567)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-05 13:32:55 +08:00
1 parent 955b1edd99
commit 0c92d5bb03
14 files changed
+15 -34

No files matched your search

+1 -10
View File
@@ -1313,11 +1313,6 @@ export function ThreadShell({
activeTurnId={turnActive && chatId ? client.getRunTurnId(chatId) ?? historyActiveTurnId : null}
completedTurnIds={messagesReady && !recoveryNeedsDecision
&& chatId && !client.hasUnsettledRun(chatId) ? queueCompletedTurnIds : undefined}
placeholder={
composerVariant === "hero"
? t("thread.composer.placeholderHero")
: t("thread.composer.placeholderThread")
}
modelLabel={modelBadgeLabel}
modelDetail={modelBadge.model}
modelPreset={activeModelPreset}
@@ -1371,11 +1366,7 @@ export function ThreadShell({
disabled={booting}
inputAriaLabel={composerInputAriaLabel}
isStreaming={turnActive}
placeholder={
booting
? t("thread.composer.placeholderOpening")
: t("thread.composer.placeholderHero")
}
placeholder={booting ? t("thread.composer.placeholderOpening") : undefined}
modelLabel={modelBadgeLabel}
modelDetail={modelBadge.model}
modelPreset={activeModelPreset}