Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(autofix) Fix Anthropic message errors #1483

Closed
roaga opened this issue Nov 21, 2024 · 0 comments · Fixed by #1484
Closed

(autofix) Fix Anthropic message errors #1483

roaga opened this issue Nov 21, 2024 · 0 comments · Fixed by #1484
Assignees

Comments

@roaga
Copy link
Member

roaga commented Nov 21, 2024

https://sentry.sentry.io/issues/6066997870/

@roaga roaga self-assigned this Nov 21, 2024
roaga added a commit that referenced this issue Nov 22, 2024
…MClient (#1484)

1. Adds a cleaning util for LLM memory that fixes empty content messages
2. Moves the `clean_tool_call_assistant_messages` inside
`generate_structured` and `generate_text` so that we don't have to think
about cleaning memory when using the LLMClient

Fixes #1483
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 a pull request may close this issue.

1 participant