Skip to content

Commit 451002e

Browse files
authored
fix: remove unnecessary content in view_file tool (#431)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent ca4f995 commit 451002e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/codegen/extensions/tools/file_operations.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ def view_file(codebase: Codebase, filepath: str) -> dict[str, Any]:
2828
return {
2929
"filepath": file.filepath,
3030
"content": file.content,
31-
"extension": file.extension,
32-
"name": file.name,
33-
"functions": [f.name for f in file.functions],
34-
"classes": [c.name for c in file.classes],
35-
"imports": [i.source for i in file.imports],
3631
}
3732

3833

0 commit comments

Comments
 (0)