style: fix background task formatting
This commit is contained in:
parent
ecde8ab363
commit
1357bb984f
5 changed files with 22 additions and 12 deletions
|
|
@ -1751,7 +1751,8 @@ ToolRegistry.register({
|
|||
const title = createMemo(() => agent().name ?? i18n.t("ui.tool.agent.default"))
|
||||
const tone = createMemo(() => agent().color)
|
||||
const subtitle = createMemo(() => {
|
||||
const value = typeof props.input.description === "string" && props.input.description ? props.input.description : childSessionId()
|
||||
const value =
|
||||
typeof props.input.description === "string" && props.input.description ? props.input.description : childSessionId()
|
||||
if (!value) return value
|
||||
if (props.metadata.background === true) return `${value} (background)`
|
||||
return value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue