Skip to content

fix: consolidate multiple system messages into single string for model compatibility - #14

Merged
frap129 merged 2 commits into
devfrom
fix/single-system-message
Aug 12, 2026
Merged

fix: consolidate multiple system messages into single string for model compatibility#14
frap129 merged 2 commits into
devfrom
fix/single-system-message

Conversation

@frap129

@frap129 frap129 commented May 3, 2026

Copy link
Copy Markdown
Owner

Some models don't support multiple system messages. Instead of pushing rules as a new array element, join existing array elements into a single string and append the formatted rules.

frap129 added 2 commits May 3, 2026 13:38
…l compatibility

Some models don't support multiple system messages. Instead of pushing
rules as a new array element, join existing array elements into a single
string and append the formatted rules.
- Add test for empty array system messages (system: [])
- Add test for single-element array system messages
- Update SystemTransformOutput type to reflect string-only return
@vjm

vjm commented Jul 17, 2026

Copy link
Copy Markdown

can this get merged? i'm seeing this issue

@frap129
frap129 merged commit 858c632 into dev Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants