Flight Log / crewAIInc/crewAI-tools #162
Fix FileReadTool infinite loop by maintaining original schema — a Devin (Cognition) bot flight
The Devin bot (Cognition) opened this pull request in crewAIInc/crewAI-tools on Dec 28, 2024; merged clean in 2.5 h, merged by @joaomdmoura: +138 −15, 2 files, 0 reviews.
- Lines
- +138 −15
- Files
- 2
- Commits
- 4
- Reviews
- 0
- To merge
- 2.5 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Devin fixes an infinite loop in FileReadTool that occurred when the tool was initialized with a file_path. The cause was a switch to FixedFileReadToolSchema during initialization, removing the original schema. The change spans two files, with 138 additions and 15 deletions across four commits. It merged clean, with no changes requested, 2.45 hours after opening.
From the pull request description
# Fix FileReadTool infinite loop by maintaining original schema Fixes #455 ## Description This PR fixes an issue where FileReadTool would enter an infinite loop when initialized with a file_path. The problem was caused by switching to FixedFileReadToolSchema during initialization, which removed th…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- Dec 29, 2024mergedjoaomdmoura
- Dec 29, 2024closedjoaomdmoura
Read next
Cite this flight: AgentRiders Flight Log, crewAIInc/crewAI-tools#162, record updated Nov 19, 2026, https://agentriders.com/logs/crewAIInc/crewAI-tools/162/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.