abi: a request's words for the plugin (RadBatch::plugin_words), ABI 32

This commit is contained in:
Brandon Bertelsen committed 2026-10-28 00:33:55 -04:00
1 parent d60da58732
commit 5a2732f063
15 files changed
+207 -8

No files matched your search

+5
View File
@@ -678,6 +678,11 @@ int rad_declare_logits(RadBuilder* b, rad_buf logits);
* this or logits, never both. */
int rad_declare_pooled(RadBuilder* b, rad_buf pooled);
/* The most integer words one request may hand the plugin (RadBatch::plugin_words), 0 for none.
* The engine stages that many a sequence in the step batch and refuses a longer request before
* it is admitted, so the plugin reads its words at the size it declared. Additive export. */
int rad_declare_plugin_words(RadBuilder* b, int64_t max_words);
/* ================================================================== the drafter */
/* The plugin's draft head. The core drives the extra passes, and only the plugin knows what it