Merge branch 'main' into fix-stage-drain

This commit is contained in:
C_Tamas committed 2026-10-25 14:19:31 +01:00
commit bcdc89eded
43 files changed
+3197 -157

No files matched your search

+3 -4
View File
@@ -1554,14 +1554,13 @@ typedef struct RadChatFormat {
const char* reasoning_open; /* "" when the model does not reason */
const char* reasoning_close;
/* Literals that end a reasoning block the model forgot to close, when a call starts there.
* Each must be the call opener: `call_open`, or `name_prefix` when there is no call_open. */
* Each must be a call opener (`call_open`, or `name_prefix` without one) or section_open. */
const char* const* reasoning_breaks;
uint32_t n_reasoning_breaks;
uint32_t reasoning_in_prompt; /* RAD_CHAT_THINK_* */
/* Around all of a turn's calls, and between two calls beyond whitespace. The parser does not
* read these yet, so a format that sets one is refused at startup by name; they are fields so
* supporting them later does not change the struct. */
/* Around the complete list of calls. section_open and section_close must be set together.
* call_separator is additional text between calls beyond whitespace; it is not supported. */
const char* section_open;
const char* section_close;
const char* call_separator;
+6 -1
View File
@@ -453,8 +453,13 @@ typedef struct RadGenBatch {
/* A request's conditioning options on a COND pass (RadGenBatch::cond_opts). */
enum {
RAD_GEN_COND_REBALANCE = 1 /* the conditioning at the plugin's fixed rebalance gains (the
RAD_GEN_COND_REBALANCE = 1, /* the conditioning at the plugin's fixed rebalance gains (the
* request field `rebalance`; Krea 2: its text taps) */
/* which of the plugin's rebalance presets, beside RAD_GEN_COND_REBALANCE: 0 its default
* gains, Krea 2: 1 balanced, 2 detail, 3 subtle (arch/krea2). A plugin declares these bits in
* RadGeneratorDecl::cond_opts when it has presets. */
RAD_GEN_COND_REBALANCE_PRESET = 0xff00,
RAD_GEN_COND_REBALANCE_PRESET_SHIFT = 8
};
/* An entry's flags on a DENOISE pass. */