mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 22:32:12 +03:00
feat(settings): expose stream recovery feature flags (#4586)
Integrated into release/v3.8.34
This commit is contained in:
@@ -222,7 +222,7 @@ export const FEATURE_FLAG_DEFINITIONS: FeatureFlagDefinition[] = [
|
||||
warningLevel: "info",
|
||||
},
|
||||
|
||||
// ──────────────── Runtime (10) ────────────────
|
||||
// ──────────────── Runtime (12) ────────────────
|
||||
{
|
||||
key: "OMNIROUTE_MCP_ENFORCE_SCOPES",
|
||||
label: "MCP Enforce Scopes",
|
||||
@@ -313,6 +313,30 @@ export const FEATURE_FLAG_DEFINITIONS: FeatureFlagDefinition[] = [
|
||||
requiresRestart: false,
|
||||
warningLevel: "caution",
|
||||
},
|
||||
{
|
||||
key: "STREAM_RECOVERY_ENABLED",
|
||||
label: "Stream Recovery",
|
||||
description:
|
||||
"Enable transparent early retry for truncated upstream SSE streams before any response bytes reach the client.",
|
||||
descriptionI18nKey: "featureFlagStreamRecoveryEnabledDescription",
|
||||
category: "runtime",
|
||||
defaultValue: "false",
|
||||
type: "boolean",
|
||||
requiresRestart: false,
|
||||
warningLevel: "caution",
|
||||
},
|
||||
{
|
||||
key: "STREAM_RECOVERY_MIDSTREAM_ENABLED",
|
||||
label: "Mid-Stream Continuation",
|
||||
description:
|
||||
"Allow stream recovery to re-request and stitch a response after bytes have already reached the client.",
|
||||
descriptionI18nKey: "featureFlagStreamRecoveryMidstreamEnabledDescription",
|
||||
category: "runtime",
|
||||
defaultValue: "false",
|
||||
type: "boolean",
|
||||
requiresRestart: false,
|
||||
warningLevel: "danger",
|
||||
},
|
||||
{
|
||||
key: "MODEL_CATALOG_INCLUDE_NAMES",
|
||||
label: "Model Catalog Names",
|
||||
|
||||
Reference in New Issue
Block a user