Merge branch 'main' of github.com:oraios/serena

This commit is contained in:
Dominik Jain committed 2025-03-25 00:21:20 +01:00
commit 3dc5a25d77
16 files changed
+419 -223

No files matched your search

+1 -2
View File
@@ -144,8 +144,7 @@ def read_file(ctx: Context, relative_path: str) -> str:
class ReadFileTool(Tool):
def _execute(self):
with self.langsrv.open_file(relative_path):
return self.langsrv.get_open_file_text(relative_path)
return self.langsrv.retrieve_full_file_content(relative_path)
return ReadFileTool(ctx).execute()