Qwen3-Embedding is a decoder model: it pools the last token, so add a
"last" pooling mode, pad on the left, and load the weights in bfloat16.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace readline with a prompt_toolkit session: the completion menu opens
as you type, history suggestions show in gray (accept with Right), and
history lives in .cache/history. Enter on a highlighted candidate accepts
it instead of submitting the line. Ctrl+C now exits cleanly.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>