DJAndries / llmvm

A protocol and modular application suite for language models.
Mozilla Public License 2.0
85 stars 4 forks source link

The code assistant crashed with non-English characters. #6

Open vanarok opened 10 months ago

vanarok commented 10 months ago

logs from helix editor:

2024-01-17T12:03:58.343 helix_lsp::transport [ERROR] vuels err <- "thread 'tokio-runtime-worker' panicked at /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/llmvm-codeassist-0.1.0/src/content.rs:127:37:\n"
2024-01-17T12:03:58.343 helix_lsp::transport [ERROR] vuels err <- "byte index 55 is not a char boundary; it is inside 'о' (bytes 54..56) of `> пишу код чтобы другие разработчики могли разобраться.</script>`\n"
2024-01-17T12:03:58.343 helix_lsp::transport [ERROR] vuels err <- "note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"
2024-01-17T12:03:58.347 helix_lsp::transport [ERROR] vuels err <- "Error: channel closed\n"