{"record":{"id":"f7f78f86ae6b8b0b","repo":"openai/codex","slug":"features-rollout-budget-reminder-at-remaining-toke-f7f78f","errorCode":null,"errorMessage":"features.rollout_budget.reminder_at_remaining_tokens must contain only positive values below limit_tokens","messagePattern":"features\\.rollout_budget\\.reminder_at_remaining_tokens must contain only positive values below limit_tokens","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/mod.rs","lineNumber":2826,"sourceCode":"            std::io::ErrorKind::InvalidInput,\n            \"features.rollout_budget.limit_tokens must be positive\",\n        ));\n    }\n    let reminder_at_remaining_tokens =\n        config\n            .reminder_at_remaining_tokens\n            .clone()\n            .ok_or_else(|| {\n                std::io::Error::new(\n                    std::io::ErrorKind::InvalidInput,\n                    \"features.rollout_budget.reminder_at_remaining_tokens is required when rollout_budget is enabled\",\n                )\n            })?;\n    if reminder_at_remaining_tokens\n        .iter()\n        .any(|&tokens| tokens <= 0 || tokens >= limit_tokens)\n    {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            \"features.rollout_budget.reminder_at_remaining_tokens must contain only positive values below limit_tokens\",\n        ));\n    }\n    let sampling_token_weight = config.sampling_token_weight.unwrap_or(1.0);\n    let prefill_token_weight = config.prefill_token_weight.unwrap_or(1.0);\n    for (field, weight) in [\n        (\"sampling_token_weight\", sampling_token_weight),\n        (\"prefill_token_weight\", prefill_token_weight),\n    ] {\n        if !weight.is_finite() || weight < 0.0 {\n            return Err(std::io::Error::new(\n                std::io::ErrorKind::InvalidInput,\n                format!(\"features.rollout_budget.{field} must be finite and non-negative\"),\n            ));\n        }\n    }\n    Ok(Some(RolloutBudgetConfig {","sourceCodeStart":2808,"sourceCodeEnd":2844,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/mod.rs#L2808-L2844","documentation":"Error \"features.rollout_budget.reminder_at_remaining_tokens must contain only positive values below limit_tokens\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/mod.rs:2826 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use only positive reminder values that are below limit_tokens."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}