feat: api accepts 'vllm' as a first-class value
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 2s
sign-bundle / sign (push) Failing after 1m45s

'openai' reads as the cloud company — an operator running
self-hosted vLLM should be able to write what they mean. The new
value speaks the identical OpenAI wire (a guard test asserts the
emitted request stays byte-identical to api: openai, so the alias
can never drift into a dialect) but yields vLLM-specific error
hints (vllm serve, port 8000) instead of generic OpenAI prose.
Manifest + docs name the value in DE and EN.

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-08-20 17:13:43 +02:00
parent 0d130d093d
commit 86f191ca3e
6 changed files with 61 additions and 19 deletions

2
Cargo.lock generated
View file

@ -265,7 +265,7 @@ dependencies = [
[[package]]
name = "text_summarize"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"chain-module-sdk",
"serde",