mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
When passing a string systemPrompt to createAgentSession(), it is now used as-is without appending context files and skills. This matches the documented behavior: 'String replaces default, function receives default and returns final.' Previously, string systemPrompt would have context files and skills appended, causing duplication if they were already in the string. fixes #543