Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use backspace to delete word in interactive-mode will panic #1140

Open
Sherlock-Holo opened this issue Feb 14, 2025 · 0 comments
Open

use backspace to delete word in interactive-mode will panic #1140

Sherlock-Holo opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Sherlock-Holo
Copy link

Describe the bug

~/git/mistral.rs/target/release/mistralrs-server -i gguf -m . -f /var/lib/ollama/blobs/sha256-6e9f90f02bb3b39b59e81916e8cfce9deb45aeaeb9a54a5be4414486b907dc1e

use this to start a interactive mode, then

  1. input some chinese words, like 你是谁, and we can see the cursor position is correct

Image

  1. press backspace to delete one word, we can see the position looks like incorrect

Image

  1. press enter, it should only give the words 你是 to the mistral.rs, however, it panic

Image

it seems the interactive mode can't handle the backspace with non-ASCII char

Latest commit or version

87a7c23

@Sherlock-Holo Sherlock-Holo added the bug Something isn't working label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant