Archived
radiance 1.0.4
- oh-my-pi works unmodified on every Qwen model. Its requests carry a top-level
preserve_thinking, which was refused as an unknown field; it now reaches the chat template the
way enable_thinking does. Its task tool's `model` parameter is the `not` of every JSON type,
which the 1.0.1 fix did not cover: any `not` that excludes every value is now an argument no
call writes, under every chat template and Flash-Next's declared format.
- Command-line defaults and bounds for what a request leaves out. A flag left unset changes
nothing; /server_info reports the values under request_defaults.
- Sampling: --typical-p, --presence-penalty, --frequency-penalty, --repetition-penalty,
--repeat-last-n, --dry-multiplier, --dry-base, --dry-allowed-length, --dry-penalty-last-n,
--dry-sequence-breakers, --xtc-probability, --xtc-threshold.
- Requests: --default-max-tokens N|auto, --max-tokens-cap, --max-n, --max-queued-requests,
--max-stop-strings, --max-stop-bytes.
- Chat template: --chat-template-kwargs JSON|@FILE sets template variables a request's own
chat_template_kwargs override; --reasoning-format auto|none.
- HTTP: --http-threads, --read-timeout, --write-timeout, --keep-alive-timeout, --max-body-mib,
--retry-after, --no-cors.
- Media: --image-min-pixels, --image-max-pixels, --video-min-pixels, --video-max-pixels,
--video-fps, --video-min-frames, --video-max-frames, --video-max-frame-tokens,
--max-source-pixels.
- Under --reasoning-effort none or minimal, a request that sets enable_thinking true now thinks
instead of having the deployment default override it.
- --temp, --top-p, --min-p and --top-k refuse a value that is not a number instead of reading
it as 0.
This commit is contained in:
1 parent
d008fdb32b
commit
09fb41735b
23 files changed
+2478
-104
No files matched your search
Vendored
+16
@@ -99,6 +99,7 @@ vendor/llama/common/regex-partial.{h,cpp} <- llama.cpp common/*
|
||||
patches/0011-chat-add_bos-must-come-from-the-inputs.patch
|
||||
patches/0012-json-schema-a-schema-no-value-satisfies.patch
|
||||
patches/0013-json-schema-a-count-past-int-is-no-bound.patch
|
||||
patches/0014-json-schema-a-not-of-every-type-is-never.patch
|
||||
|
||||
On 0003: a `pattern` in a `response_format` reaches _visit_pattern() as client data, and three
|
||||
of its paths do not survive that. `front()`/`back()` run on an empty string; `seq.back()` runs
|
||||
@@ -444,3 +445,18 @@ PATCH SERIES
|
||||
long. A count that is negative or not a number is refused by name. A float count is
|
||||
truncated, where maxItems used to ignore one. The other half of the same report -- any count
|
||||
past 2000 refused -- was the GBNF parser's, and is fixed in core/sample/gbnf.cpp.
|
||||
|
||||
patches/0014-json-schema-a-not-of-every-type-is-never.patch
|
||||
|
||||
0012 recognised `never` only as `{"not": {}}`. oh-my-pi 18.6.0 sends its `task` tool's
|
||||
optional `model` as the `not` of a union of all six JSON types -- `{"not": {"anyOf":
|
||||
[{"type": "string"}, {"type": "number"}, {"type": "boolean"}, {"type": "object"},
|
||||
{"type": "array"}, {"type": "null"}]}}` -- so under every template that constrains tool
|
||||
arguments the request still failed with "Unsupported schema keyword \"not\"". A `not` is now
|
||||
`never` whenever what it negates accepts every value: `{}` or `true`, a type list naming all
|
||||
six types, or a union of bare types that between them name all six (an alternative that is
|
||||
itself universal settles it). Annotations may sit beside; any other keyword narrows the
|
||||
schema, an alternative that constrains more than its type is not counted, and `integer` does
|
||||
not stand for `number`, so a `not` is only read as `never` when it is. Every other `not` is
|
||||
refused as 0004 refuses it. The comment of 0012 above is_unsatisfiable, which 0013 had left
|
||||
above _schema_count, is back beside the function it describes.
|
||||
Reference in new issue
Block a user