Open
Description
Describe the bug
Apologies if this is logged before or not specifically an Amazon Q Eclipse issue, but I couldnt find information on it. When sending code to prompt, or using inline options on large chunks of code (246 loc in my case) and asking Q to review or optimize will throw an error.
To Reproduce
- Select a whole Java class
- Send it to the prompt or right click and select inline optimize
- See failure:
An error occurred while processing your request.
Details: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Improperly formed request.
Expected behavior
I would expect it to review/optimize the code, or produce a user friendly error. If there is a problem in formatting, or length of code, it should warn me instead of failing. I've no idea what the problem is.
Screenshots
Your Environment:
- OS: Windows 11
- Eclipse IDE for Java Developers (includes Incubating components)
- Version: 2024-06 (4.32.0)
- Build id: 20240606-1231
- Amazon Q for Eclipse plugin version: Amazon Q 1.0 (Pro)
- JVM version: OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
Additional context
- It seems similar to this issue: Amazon Q chat raise an issue when asking anything (Improperly formed request) aws-toolkit-jetbrains#4114
- Amazon Q signs me out, and asks me to reauthenticate so often that I've definitely done this.
- Restarted Eclipse and made sure to update the Amazon Q extension
Activity