-
Notifications
You must be signed in to change notification settings - Fork 14k
[codex] configure rollout budget reminder thresholds #29423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,8 +109,8 @@ pub struct RolloutBudgetConfigToml { | |
| #[schemars(range(min = 1))] | ||
| pub limit_tokens: Option<i64>, | ||
| #[serde(skip_serializing_if = "Option::is_none")] | ||
| #[schemars(range(min = 1))] | ||
| pub reminder_interval_tokens: Option<i64>, | ||
| /// Remaining weighted-token values that trigger reminders when crossed. | ||
| pub reminder_at_remaining_tokens: Option<Vec<i64>>, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a managed or user config supplies a large/dense AGENTS.md reference: AGENTS.md:L98-L98 Useful? React with 👍 / 👎.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not an issue
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The resolver rejects zero or negative Useful? React with 👍 / 👎. |
||
| #[serde(skip_serializing_if = "Option::is_none")] | ||
| #[schemars(range(min = 0.0))] | ||
| pub sampling_token_weight: Option<f64>, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When users have an existing rollout-budget config or exported config-lock file, changing the TOML shape to only accept
reminder_at_remaining_tokenswhileRolloutBudgetConfigTomlstill denies unknown fields makes priorreminder_interval_tokensconfigs fail to deserialize before migration; configs that only setlimit_tokensalso now fail because the resolver requires this new field instead of deriving the previous default. Please keep a deprecated alias/translation or fallback so existing rollout-budget sessions/configs continue to start.AGENTS.md reference: AGENTS.md:L103-L111
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not an issue