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

reflect_on_summary: TypeError("'<=' not supported between instances of 'int' and 'str'") #41

Open
pang4254 opened this issue Feb 26, 2025 · 2 comments

Comments

@pang4254
Copy link

reflect_on_summary
TypeError("'<=' not supported between instances of 'int' and 'str'")

@LeoDumas
Copy link

LeoDumas commented Feb 26, 2025

I fixed it by changing one part of the code, for the route_research function on the graph.py from line 135 to 142

replace
if state.research_loop_count <= configurable.max_web_research_loops:
with
if state.research_loop_count <= int(configurable.max_web_research_loops):

@pang4254
Copy link
Author

I fixed it by changing one part of the code, for the route_research function on the graph.py from line 135 to 142

replace if state.research_loop_count <= configurable.max_web_research_loops: with if state.research_loop_count <= int(configurable.max_web_research_loops):

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