Skip to content

Remove the leading and trailing spaces from the user input content#4824

Open
jkklee wants to merge 1 commit intoAider-AI:mainfrom
jkklee:user-input-strip
Open

Remove the leading and trailing spaces from the user input content#4824
jkklee wants to merge 1 commit intoAider-AI:mainfrom
jkklee:user-input-strip

Conversation

@jkklee
Copy link

@jkklee jkklee commented Feb 12, 2026

Resove: 1. ' /xxx' and ' ' (all spaces)will sent as a request; 2. ' Y' will return error when need user confirm

…esove: 1. ' /xxx' and ' ' (all spaces)will sent as a request; 2. ' Y' will return error when need user confirm
@jkklee
Copy link
Author

jkklee commented Feb 12, 2026

In any case, the leading and trailing spaces in the user input should be disregarded. Besides, they can also cause side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant