mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 08:02:17 +00:00
refactor: move context files to system prompt instead of user messages
- Context files now appended to system prompt - Added current date/time to system prompt - Added current working directory to system prompt - Date/time and cwd placed at end of system prompt - Updated README to reflect system prompt integration
This commit is contained in:
parent
dca3e1cc60
commit
b1c2c32e23
2 changed files with 41 additions and 24 deletions
|
|
@ -168,7 +168,7 @@ Context files are useful for:
|
|||
- Update CHANGELOG.md for user-facing changes
|
||||
```
|
||||
|
||||
Each file is injected as a separate user message at the beginning of new sessions, ensuring the AI has full project context without modifying the system prompt.
|
||||
All context files are automatically included in the system prompt at session start, along with the current date/time and working directory. This ensures the AI has complete project context from the very first message.
|
||||
|
||||
## Image Support
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue