mirror of
https://github.com/redis/redis.git
synced 2026-01-09 03:58:05 -05:00
This PR adds a `--ollama-url` option to `cli.py`, the lightweight redis-cli-like tool that expands !"text" arguments into embeddings via Ollama. Previously, the embedding call was hardcoded to http://localhost:11434/api/embeddings. With this change, users can specify a custom Ollama server URL when starting the tool. If no URL is provided, the tool defaults to what it was before.