mirror of
https://github.com/langchain-ai/open_deep_research.git
synced 2026-07-25 21:35:34 -04:00
[PR #185] fix(supervisor_tools): remove stray or True that forces premature END
#217
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/open_deep_research/pull/185
Author: @malachyd
Created: 8/21/2025
Status: 🔄 Open
Base:
main← Head:fix/supervisor-tools-or-true📝 Commits (1)
71a97a8fix(supervisor_tools): remove strayor Truethat forces premature END📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/open_deep_research/deep_researcher.py(+2 -2)📄 Description
In the supervisor_tools except block:
if is_token_limit_exceeded(e, configurable.research_model) or True:Theor Truemade the condition unconditional, ending research on any exception. Removeor Trueso only token-limit errors trigger END.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.