tui: fix cursor position calculation
The cursor index is into self.input, but the rendered buffer contains the prompt prepended to the first line. Need to add prompt.len() to get the correct character position when scanning the buffer.
This commit is contained in:
parent
ec79d60fbd
commit
6a7ec9732b
2 changed files with 3 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ exec vllm serve "$MODEL" \
|
|||
--max-model-len "$MAX_MODEL_LEN" \
|
||||
--gpu-memory-utilization "$GPU_MEMORY_UTILIZATION" \
|
||||
--enable-prefix-caching \
|
||||
--tool-call-parser qwen3_xml \
|
||||
--tool-call-parser hermes \
|
||||
--enable-auto-tool-choice \
|
||||
--reasoning-parser=qwen3 \
|
||||
--uvicorn-log-level warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue