fix(tui): show resolved skill name
This commit is contained in:
@@ -2661,9 +2661,10 @@ function Question(props: ToolProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Skill(props: ToolProps) {
|
function Skill(props: ToolProps) {
|
||||||
|
const name = createMemo(() => stringValue(props.metadata.name) ?? stringValue(props.input.id))
|
||||||
return (
|
return (
|
||||||
<InlineTool icon="→" pending="Loading skill..." complete={stringValue(props.input.name)} part={props.part}>
|
<InlineTool icon="→" pending="Loading skill..." complete={name()} part={props.part}>
|
||||||
Skill "{stringValue(props.input.name)}"
|
Skill "{name()}"
|
||||||
</InlineTool>
|
</InlineTool>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user