feat: optimze skill and tool
This commit is contained in:
@@ -228,8 +228,8 @@ describe('run_code sub-calls through the real chat machinery', () => {
|
||||
// Each run-control verb names its act and shows the package id; without the
|
||||
// owned titles all three would read "Tool call · cordis_run · dyn-2".
|
||||
expect(nest.querySelector('[data-tool="cordis_runtime_inspect"]')?.textContent).toContain('Inspect')
|
||||
expect(nest.querySelector('[data-tool="cordis_run"]')?.textContent).toContain('Run dynamic packagedyn-2')
|
||||
expect(nest.querySelector('[data-tool="cordis_undefine"]')?.textContent).toContain('Discard dynamic packagedyn-2')
|
||||
expect(nest.querySelector('[data-tool="cordis_run"]')?.textContent).toContain('Run Cordis Plugindyn-2')
|
||||
expect(nest.querySelector('[data-tool="cordis_undefine"]')?.textContent).toContain('Remove Cordis Plugindyn-2')
|
||||
// None of them is a code row: the program belongs to cordis_define, whose
|
||||
// own keyed card renders it (the next case covers the code row itself).
|
||||
expect(nest.querySelector('[data-variant="code"]')).toBeNull()
|
||||
|
||||
Reference in New Issue
Block a user