What happened?
When the CLI attempts to update a large source code file, it appears to expect the LLM to generate the full file in the response, but results in an error:
✕ [API Error: Unable to submit request because it has a maxOutputTokens value of 788977 but the supported
range is from 1 (inclusive) to 65537 (exclusive). Update the value and try again.]
What did you expect to happen?
Use diffs or limit the request to the LLM to only respond with the function or part of the code that needs to be updated.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
# paste output here
Login information
No response
Anything else we need to know?
No response
What happened?
When the CLI attempts to update a large source code file, it appears to expect the LLM to generate the full file in the response, but results in an error:
What did you expect to happen?
Use diffs or limit the request to the LLM to only respond with the function or part of the code that needs to be updated.
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
No response