mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
Include Codex Apps configuration in cloud prewarm requests (#60389)
## What changed Set `plugins_mcp.product_sku` to `"codex"` in cloud thread prewarm requests for both default environments and selected projects. ## Testing Update request payload assertions to verify the Codex plugins configuration alongside managed environment defaults, model overrides, and deferred project readiness. GitOrigin-RevId: c4ab95aa8e3440c816c5cd136444a038f4532eb9
This commit is contained in:
committed by
copyberry
parent
8703d32bd0
commit
e787af9624
@@ -72,6 +72,9 @@ impl Client {
|
||||
wire::PrewarmRequest {
|
||||
model,
|
||||
model_provider,
|
||||
plugins_mcp: Some(wire::PluginsMcp {
|
||||
product_sku: Some("codex".to_owned()),
|
||||
}),
|
||||
deferred_environment,
|
||||
environments: Some(wire::EnvironmentList {
|
||||
values: vec![wire::EnvironmentSelection {
|
||||
@@ -118,10 +121,17 @@ mod wire {
|
||||
pub model: Option<String>,
|
||||
#[prost(string, optional, tag = "16")]
|
||||
pub model_provider: Option<String>,
|
||||
#[prost(message, optional, tag = "28")]
|
||||
pub plugins_mcp: Option<PluginsMcp>,
|
||||
#[prost(bool, optional, tag = "29")]
|
||||
pub deferred_environment: Option<bool>,
|
||||
}
|
||||
#[derive(Clone, Message)]
|
||||
pub(super) struct PluginsMcp {
|
||||
#[prost(string, optional, tag = "1")]
|
||||
pub product_sku: Option<String>,
|
||||
}
|
||||
#[derive(Clone, Message)]
|
||||
pub(super) struct EnvironmentList {
|
||||
#[prost(message, repeated, tag = "1")]
|
||||
pub values: Vec<EnvironmentSelection>,
|
||||
|
||||
Reference in New Issue
Block a user