mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 23:01:30 +00:00
Add creation hints to docs and update system prompt
- System prompt now instructs to read docs AND examples, follow cross-refs - Each doc starts with 'pi can create X. Ask it to build one.'
This commit is contained in:
parent
57dc16d9b9
commit
84b663276d
6 changed files with 11 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ Documentation:
|
|||
- Main documentation: ${readmePath}
|
||||
- Additional docs: ${docsPath}
|
||||
- Examples: ${examplesPath} (hooks, custom tools, SDK)
|
||||
- When asked about: custom models/providers (README sufficient), themes (docs/theme.md), skills (docs/skills.md), hooks (docs/hooks.md), custom tools (docs/custom-tools.md), RPC (docs/rpc.md)`;
|
||||
- When asked to create hooks, custom tools, themes, or skills: read the relevant docs AND examples, follow all .md cross-references`;
|
||||
|
||||
if (appendSection) {
|
||||
prompt += appendSection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue