Skip to content

Conversation

cloudbridgeuy
Copy link
Contributor

The Anthropic API doesn't support the System prompt, so the format and role options cause it to fail.

I fixed it by removing the messages with the System role and appending their message to the System request value instead.

@cloudbridgeuy cloudbridgeuy requested a review from caarlos0 as a code owner May 24, 2024 20:26
@caarlos0 caarlos0 merged commit 6582595 into charmbracelet:main Jun 3, 2024
@caarlos0
Copy link
Member

caarlos0 commented Jun 3, 2024

awesome, thanks!

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