-
Hello, My Problem: Where and how can I see more log information for this part of the Theia IDE application to understand why the answer is not added. What the bot proposed and what I tried in italic: To investigate why the AI-generated completion is not being inserted into the editor, you can check Theia's logs at different levels: 1. Check Theia Backend LogsIf you're running Theia from a terminal, the backend logs should provide insights. Start Theia with THEIA_LOG_LEVEL=debug yarn theia start or if using Docker: docker run -e THEIA_LOG_LEVEL=debug <your-theia-image> This should show detailed logs, including possible errors when processing AI completions. I checked the output on Standard Out, but nothing is added at the time of a Code Completetion AI Agent run. 2. Check Theia Frontend Logs (Browser Console)Since Theia runs in a web environment, you can inspect the frontend logs:
I checked the console output, but nothing is added at the time of a Code Completetion AI Agent run. 3. Enable Plugin/Extension LoggingIf the AI Agent is implemented as a Theia extension, check if it provides additional logging options:
There is an Output for the configured LLM model. It prints the request and the answer from the LLM and actually it adds a line "Cancel requested" after the LLM output 4. Manually Trigger AI CompletionTry manually invoking the completion using the appropriate command:
That's what I do all the time to control when code completion happens. I just us keys CTRL-ALT-SPACE 5. Check Theia's Log Files (If Persisted)Some Theia applications store logs in files. Check if your setup logs errors to a file ( There is a folder logs with a subfolder for each start of the IDE but there is no further log written. 6. Debug The Extension CodeIf you are developing the AI agent or have access to the source code, you can debug it by:
This I have not done yet, I hope sombody has a better proposal to understand the reason. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @six42! We integrate the autocomplete suggestions via We should investigate there whether this integration and completion provider can be improved. |
Beta Was this translation helpful? Give feedback.
-
Hi Stefan @sdirix, |
Beta Was this translation helpful? Give feedback.
Hi @six42!
We integrate the autocomplete suggestions via
monaco.languages.InlineCompletionsProvider
into Monaco.We should investigate there whether this integration and completion provider can be improved.