mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
Remove non-Python goal changes
This commit is contained in:
@@ -132,17 +132,10 @@ pub struct Submission {
|
||||
pub op: Op,
|
||||
/// Client-provided id for the user message represented by `Op::UserInput`.
|
||||
pub client_user_message_id: Option<String>,
|
||||
/// Goal to replace before processing this user-input submission.
|
||||
pub initial_goal: Option<InitialGoal>,
|
||||
/// Optional W3C trace carrier propagated across async submission handoffs.
|
||||
pub trace: Option<W3cTraceContext>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, JsonSchema)]
|
||||
pub struct InitialGoal {
|
||||
pub objective: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, JsonSchema, TS)]
|
||||
pub struct W3cTraceContext {
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in New Issue
Block a user