Bug Description:
The tool function getFileDiagnostics never completes, hanging the chat response.
Steps to Reproduce:
- Execute
@Coder What is wrong with this file? packages/ai-history/src/common/communication-recording-service.ts
- Coder should invoke
getFileDiagnostics on this path
- Observe that the function never completes

Additional Information
- Operating System: Ubuntu 24.04
- Theia Version: Latest master (2402450)