Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

marliessophie
Copy link
Member

@marliessophie marliessophie commented Sep 16, 2025

Important

Adds transformation in fetchLLMCompletion.ts to convert system messages to user messages for VertexAI and Anthropic when required.

  • Behavior:
    • Adds transformSystemMessageToUserMessage function in fetchLLMCompletion.ts to convert system messages to user messages for providers requiring a user message.
    • Updates fetchLLMCompletion to apply this transformation for VertexAI and Anthropic when only one message is present.
  • Constants:
    • Introduces PROVIDERS_WITH_REQUIRED_USER_MESSAGE array to list providers needing a user message.

This description was created by Ellipsis for df75e20. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 16, 2025
@dosubot dosubot bot added auto-merge This PR is set to be merged bug Something isn't working labels Sep 16, 2025
@marliessophie marliessophie added this pull request to the merge queue Sep 16, 2025
Merged via the queue into main with commit 828c3ff Sep 16, 2025
30 checks passed
@marliessophie marliessophie deleted the marlies/lfe-6696 branch September 16, 2025 16:40
@dosubot dosubot bot removed the auto-merge This PR is set to be merged label Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant