mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 23:01:30 +00:00
Instead of passing conversation as LLM messages (which makes the model try to continue it), serialize to text wrapped in <conversation> tags. - serializeConversation() formats messages as [User]/[Assistant]/[Tool result] - Tool calls shown as function(args) format - Tool results truncated to prevent bloat - Conversation wrapped in <conversation> tags in the prompt |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| modes | ||
| utils | ||
| cli.ts | ||
| config.ts | ||
| index.ts | ||
| main.ts | ||
| migrations.ts | ||