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

Context window is not read in anthropic and summarize is not working #2044

Open
Sapessii opened this issue Nov 15, 2024 · 0 comments
Open

Context window is not read in anthropic and summarize is not working #2044

Sapessii opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@Sapessii
Copy link

Describe the bug
Even setting the context window, the summarize function is not called.

I think this happens because "summarize_messages_inplace" is called only when the llm returns error, but claude has 200k, it will take a lot to reach it

And when manually called throws error in anthropic.py here
assert len(response_json["content"]) == 2, response_json

Letta Config
Using anthropic with claude 3.5 sonnet latest

Let me know if you need further details,
Thank you!

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

No branches or pull requests

2 participants