Skip to content

fix(translation): filter developer/system message roles for Anthropic direct request#608

Merged
icebear0828 merged 1 commit into
devfrom
fix/anthropic-direct-developer-role
Jun 2, 2026
Merged

fix(translation): filter developer/system message roles for Anthropic direct request#608
icebear0828 merged 1 commit into
devfrom
fix/anthropic-direct-developer-role

Conversation

@icebear0828

Copy link
Copy Markdown
Owner

Fix potential 400 Bad Request by upstream when translateCodexToAnthropicRequest encounters developer or system message roles in the messages list. Merge those roles' content into the top-level system parameter.

@icebear0828 icebear0828 force-pushed the fix/anthropic-direct-developer-role branch from db04e7d to 32316d1 Compare June 2, 2026 04:06
@icebear0828 icebear0828 merged commit 848c5e0 into dev Jun 2, 2026
3 checks passed
@icebear0828 icebear0828 deleted the fix/anthropic-direct-developer-role branch June 2, 2026 04:07
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.

1 participant