Repository navigation
feat(runtime): add reasoning replay feature flag - #12486
diegosouzapw merged 14 commits into
Conversation
e6ba298 to
a68f6ff
Compare
Keep the reasoning-replay feature flag on the current tip. Drop src/i18n/messages/in.json to match the locale catalog. Move the disable-path test out of the frozen reasoning-cache suite, wrap lookupReasoning so the flag guard does not add cognitive complexity, and lock the flag's on-by-default value. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
|
Clean, well-scoped feature flag addition — defaulting to |
…-settings test The EXPECTED_FEATURE_FLAG_COUNT assertion conflicted with newly merged locale/i18n changes from the release tip; resolved to 58 (57 on tip + REASONING_REPLAY_ENABLED added by this PR). Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…r locales The release branch now ships 66 locales; the merge brought in 24 locale files that predate this PR, so featureFlagReasoningReplayEnabledDescription existed in only 42 of them. Mirror the English text into the remaining 24 so the UI key coverage gate stays green. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…soning-replay-toggle # Conflicts: # src/i18n/messages/ar.json # src/i18n/messages/az.json # src/i18n/messages/bg.json # src/i18n/messages/bn.json # src/i18n/messages/cs.json # src/i18n/messages/da.json # src/i18n/messages/de.json # src/i18n/messages/es.json # src/i18n/messages/fa.json # src/i18n/messages/fi.json # src/i18n/messages/fr.json # src/i18n/messages/gu.json # src/i18n/messages/he.json # src/i18n/messages/hi.json # src/i18n/messages/hu.json # src/i18n/messages/id.json # src/i18n/messages/it.json # src/i18n/messages/ja.json # src/i18n/messages/ko.json # src/i18n/messages/mr.json # src/i18n/messages/ms.json # src/i18n/messages/nl.json # src/i18n/messages/no.json # src/i18n/messages/phi.json # src/i18n/messages/pl.json # src/i18n/messages/pt.json # src/i18n/messages/ro.json # src/i18n/messages/ru.json # src/i18n/messages/sk.json # src/i18n/messages/sv.json # src/i18n/messages/sw.json # src/i18n/messages/ta.json # src/i18n/messages/te.json # src/i18n/messages/th.json # src/i18n/messages/tr.json # src/i18n/messages/uk-UA.json # src/i18n/messages/ur.json # src/i18n/messages/zh-CN.json # src/i18n/messages/zh-TW.json # tests/unit/feature-flags-settings.test.ts
…soning-replay-toggle # Conflicts: # tests/unit/feature-flags-settings.test.ts
…soning-replay-toggle
…soning-replay-toggle
|
Updated this branch to the current The remaining red checks reproduce on the base/current upstream state (API-route baseline drift, docs-count drift, frozen |
|
Re-homed to |
Keep unique REASONING_REPLAY_ENABLED flag, i18n key, and changelog fragment. Take tip translations for existing keys. Snapshot live catalog at 83 flags. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Replace __MISSING__ markers with locale translations so the new-key coverage gate accepts the unique reasoning-replay flag. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
# Conflicts: # tests/unit/feature-flags-settings.test.ts # tests/unit/server-owned-tool-loop-flag.test.ts
…r behavior Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
03d4cf4
into
cheaper-inference:release/v3.8.52
Summary
Adds a default-enabled runtime feature flag for Reasoning Replay.
When
REASONING_REPLAY_ENABLEDis disabled, the shared cache service skips reasoning writes and lookups. Provider/model detection and protocol shaping remain unchanged.Scope
REASONING_REPLAY_ENABLEDunder Runtime settingsThe default remains enabled, so existing behavior is unchanged.
Validation
git diff --check