mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
V12
This commit is contained in:
@@ -2089,12 +2089,12 @@ async fn handle_unified_exec_tool_call(
|
||||
Ok(value) => {
|
||||
#[derive(Serialize)]
|
||||
struct SerializedUnifiedExecResult<'a> {
|
||||
session_id: Option<i32>,
|
||||
session_id: Option<String>,
|
||||
output: &'a str,
|
||||
}
|
||||
|
||||
match serde_json::to_string(&SerializedUnifiedExecResult {
|
||||
session_id: value.session_id,
|
||||
session_id: value.session_id.map(|id| id.to_string()),
|
||||
output: &value.output,
|
||||
}) {
|
||||
Ok(serialized) => FunctionCallOutputPayload {
|
||||
|
||||
Reference in New Issue
Block a user