Added readme & changed standard adress
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
|||||||
|
Как запускать и протестировать:
|
||||||
|
Запуск с дефолтными параметрами:
|
||||||
|
|
||||||
|
Bash
|
||||||
|
cargo run
|
||||||
|
Запуск с указанием конкретной сессии и своего URL (например, vLLM / llama.cpp / Ollama):
|
||||||
|
|
||||||
|
Bash
|
||||||
|
cargo run -- --session-id 12345 --api-url "http://localhost:8000/v1/chat/completions" --model "qwen2.5-coder"
|
||||||
|
Справка по доступным флагам:
|
||||||
|
|
||||||
|
Bash
|
||||||
|
cargo run -- --help
|
||||||
+1
-1
@@ -15,7 +15,7 @@ struct Args {
|
|||||||
#[arg(
|
#[arg(
|
||||||
short,
|
short,
|
||||||
long,
|
long,
|
||||||
default_value = "http://192.168.0.50:6969/v1/chat/completions"
|
default_value = "http://localhost"
|
||||||
)]
|
)]
|
||||||
api_url: String,
|
api_url: String,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user