Skip to content

fix(supervisor_tools): remove stray or True that forces premature END#185

Open
Malachy Donovan (malachyd) wants to merge 1 commit intolangchain-ai:mainfrom
malachyd:fix/supervisor-tools-or-true
Open

fix(supervisor_tools): remove stray or True that forces premature END#185
Malachy Donovan (malachyd) wants to merge 1 commit intolangchain-ai:mainfrom
malachyd:fix/supervisor-tools-or-true

Conversation

@malachyd

In the supervisor_tools except block:
if is_token_limit_exceeded(e, configurable.research_model) or True: The or True made the condition unconditional, ending research on any exception. Remove or True so only token-limit errors trigger END.

In the supervisor_tools except block:
`if is_token_limit_exceeded(e, configurable.research_model) or True:`
The `or True` made the condition unconditional, ending research on any exception.
Remove `or True` so only token-limit errors trigger END.
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.

1 participant