chore(frontend): 同步工作区小组件格式
This commit is contained in:
parent
63e4869101
commit
f2c68a4ec5
|
|
@ -48,12 +48,12 @@ export function CitationLink({
|
||||||
<div className="p-3">
|
<div className="p-3">
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
{displayText && (
|
{displayText && (
|
||||||
<h4 className="truncate text-sm leading-tight font-medium">
|
<h4 className="truncate font-medium text-sm leading-tight">
|
||||||
{displayText}
|
{displayText}
|
||||||
</h4>
|
</h4>
|
||||||
)}
|
)}
|
||||||
{href && (
|
{href && (
|
||||||
<p className="text-muted-foreground truncate text-xs break-all">
|
<p className="truncate break-all text-muted-foreground text-xs">
|
||||||
{href}
|
{href}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,7 @@ function getModeDescriptionKey(
|
||||||
mode: AgentMode,
|
mode: AgentMode,
|
||||||
): keyof Pick<
|
): keyof Pick<
|
||||||
Translations["inputBox"],
|
Translations["inputBox"],
|
||||||
| "flashModeDescription"
|
"flashModeDescription" | "reasoningModeDescription" | "proModeDescription" | "ultraModeDescription"
|
||||||
| "reasoningModeDescription"
|
|
||||||
| "proModeDescription"
|
|
||||||
| "ultraModeDescription"
|
|
||||||
> {
|
> {
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case "flash":
|
case "flash":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue