2 Commits
Author SHA1 Message Date
faresandClaude Fable 5 b6635d261c refactor: drop strip_routed_experts_data wrapper
Both base64 splices call _strip_base64_field directly now.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 18:36:45 +00:00
faresandClaude Fable 5 0d104d82e3 feat: parse kept_tokens sampling masks from /generate responses
Splice the base64 kept-set ids out of the raw response bytes before
json.loads (same fast path as routed_experts) and surface the
{ids, counts} payload on the generate() result dict for sampling-mask
replay training.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 02:00:35 +00:00