fix(tui): show resolved skill name
This commit is contained in:
parent
dd842f9862
commit
b3cf749a7f
1 changed files with 3 additions and 2 deletions
|
|
@ -2661,9 +2661,10 @@ function Question(props: ToolProps) {
|
|||
}
|
||||
|
||||
function Skill(props: ToolProps) {
|
||||
const name = createMemo(() => stringValue(props.metadata.name) ?? stringValue(props.input.id))
|
||||
return (
|
||||
<InlineTool icon="→" pending="Loading skill..." complete={stringValue(props.input.name)} part={props.part}>
|
||||
Skill "{stringValue(props.input.name)}"
|
||||
<InlineTool icon="→" pending="Loading skill..." complete={name()} part={props.part}>
|
||||
Skill "{name()}"
|
||||
</InlineTool>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue