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
@@ -640,11 +640,11 @@ int chat_format_grammar(const ChatFormat& f, const ChatGrammarRequest& req, Chat
|
||||
|
||||
std::vector<G> req_arms, opt_arms;
|
||||
for (const auto& [pname, pschema] : properties.items()) {
|
||||
/* An optional argument no value satisfies -- `false`, or `{"not": {}}`, an
|
||||
* Arktype or TypeBox `never` -- is one no call writes, so it gets no arm; a
|
||||
* model that writes it anyway reaches the undeclared arm below. The template
|
||||
* path does the same (vendor/patches/0012); required, it goes through the
|
||||
* schema and is refused there by name. */
|
||||
/* An optional argument no value satisfies -- `false`, or the `not` of a schema
|
||||
* every value satisfies, an Arktype or TypeBox `never` -- is one no call
|
||||
* writes, so it gets no arm; a model that writes it anyway reaches the
|
||||
* undeclared arm below. The template path does the same (vendor/patches/0012,
|
||||
* 0014); required, it goes through the schema and is refused there by name. */
|
||||
if (!required.count(pname) && info.unsatisfiable(pschema)) continue;
|
||||
G value;
|
||||
if (f.other_value != ChatValue::Json || info.resolves_to_string(pschema)) {
|
||||
|
||||
Reference in new issue
Block a user