forked from google-gemini/gemini-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
What happened?
When piping a file that contains special characters (e.g., quotes, backticks, dollar signs) into a prompt, the characters are not always escaped or interpreted correctly. This can lead to unexpected errors from the API or malformed output.
What did you expect to happen?
Expected Behavior:
The CLI should properly handle and escape all special characters from piped input to ensure the prompt sent to the Gemini API is exactly as intended.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
# paste output hereLogin information
No response
Anything else we need to know?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels