Skip to content

Conversation

timesler
Copy link
Contributor

@timesler timesler commented May 3, 2025

Resolves #1086

Before this change, multiple system prompts for Anthropic models would be joined without the typical double newline separation seen elsewhere (such as between system prompts and instructions a few lines below in the same function).

Minimal repro has been added as a new test case.

@DouweM DouweM merged commit e7ce675 into pydantic:main May 12, 2025
18 checks passed
@DouweM
Copy link
Collaborator

DouweM commented May 12, 2025

Thanks @timesler!

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.

Anthropic system messages are joined without separation
2 participants