mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 23:01:30 +00:00
- Changed ToolRenderer return type from TemplateResult to ToolRenderResult
- ToolRenderResult = { content: TemplateResult, isCustom: boolean }
- isCustom: true = no card wrapper, false = wrap in card
- Updated all existing tool renderers to return new format
- Updated Messages.ts to handle custom rendering
This enables tools to render without default card chrome when needed.
|
||
|---|---|---|
| .. | ||
| data | ||
| abort.test.ts | ||
| agent.test.ts | ||
| empty.test.ts | ||
| enum-test.ts | ||
| handoff.test.ts | ||
| stream.test.ts | ||
| tool-call-without-result.test.ts | ||
| tool-validation.test.ts | ||