Fix token limit check to use compression model#230
Open
Youngbin (youngandbin) wants to merge 1 commit into
Open
Fix token limit check to use compression model#230Youngbin (youngandbin) wants to merge 1 commit into
Youngbin (youngandbin) wants to merge 1 commit into
Conversation
…del in compress_research function
at384 (zamal-db)
added a commit
to zamal-db/open_deep_research
that referenced
this pull request
Mar 12, 2026
…ests) Bug Fixes: - Fix langchain-ai#252: remove_up_to_last_ai_message now removes the oldest AI/Tool exchange instead of the newest, preserving the most recent research context - Fix langchain-ai#230: compress_research token limit check now uses compression_model instead of research_model (matching the model actually used for compression) - Fix langchain-ai#225: Replace deprecated LangGraph StateGraph params output= and input= with output_schema= and input_schema= (deprecated since V05) Enhancements: - Extend get_api_key_for_model with 6 new providers (groq, deepseek, mistral, cohere, fireworks, bedrock) via a data-driven _PROVIDER_API_KEY_MAP Tests: - Add first-ever unit test suite: 77 tests covering utils, configuration, and state modules with zero external dependencies required
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix token limit check to use compression model instead of research model in compress_research function