fix: remove iframe general chat entry
This commit is contained in:
1 parent
008c9ede6e
commit
d86c9d48a6
1 file changed
+2
-14
@@ -1,7 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ArrowRightIcon,
|
|
||||||
BookMarkedIcon,
|
BookMarkedIcon,
|
||||||
BotIcon,
|
BotIcon,
|
||||||
BrainCircuitIcon,
|
BrainCircuitIcon,
|
||||||
@@ -709,7 +708,7 @@ export default function IframeChatPage() {
|
|||||||
<div className="mb-6 flex min-h-40 flex-col items-center justify-center px-4 text-center">
|
<div className="mb-6 flex min-h-40 flex-col items-center justify-center px-4 text-center">
|
||||||
<div className="text-2xl font-medium">你好</div>
|
<div className="text-2xl font-medium">你好</div>
|
||||||
<div className="mt-2 text-sm text-muted-foreground">
|
<div className="mt-2 text-sm text-muted-foreground">
|
||||||
选择智能体进入问答,或直接使用通用问答
|
选择智能体进入问答
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 flex flex-wrap items-center justify-center gap-2">
|
<div className="mt-4 flex flex-wrap items-center justify-center gap-2">
|
||||||
<label className="relative inline-flex h-9 min-w-40 items-center rounded-full border border-[#eee3d5] bg-[#fffaf5] px-3 text-[#7e6a57] shadow-sm transition-colors hover:bg-white">
|
<label className="relative inline-flex h-9 min-w-40 items-center rounded-full border border-[#eee3d5] bg-[#fffaf5] px-3 text-[#7e6a57] shadow-sm transition-colors hover:bg-white">
|
||||||
@@ -740,21 +739,10 @@ export default function IframeChatPage() {
|
|||||||
▾
|
▾
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<Button
|
|
||||||
type="button"
|
|
||||||
variant="outline"
|
|
||||||
size="sm"
|
|
||||||
disabled={isUploading}
|
|
||||||
onClick={() => enterStandardChat()}
|
|
||||||
className="rounded-full"
|
|
||||||
>
|
|
||||||
直接进入通用问答
|
|
||||||
<ArrowRightIcon className="ml-1 size-3.5" />
|
|
||||||
</Button>
|
|
||||||
</div>
|
</div>
|
||||||
{!selectorLoading && fallbackAgents.length === 0 && (
|
{!selectorLoading && fallbackAgents.length === 0 && (
|
||||||
<div className="mt-3 text-xs text-muted-foreground">
|
<div className="mt-3 text-xs text-muted-foreground">
|
||||||
暂无可选智能体,仍可直接进入通用问答
|
暂无可选智能体
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user