We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb97c8 commit 2c3411aCopy full SHA for 2c3411a
src/codex_agent.rs
@@ -88,7 +88,7 @@ impl CodexAgent {
88
.sessions
89
.borrow()
90
.get(session_id)
91
- .ok_or_else(Error::invalid_request)?
+ .ok_or_else(|| Error::resource_not_found(None))?
92
.clone())
93
}
94
@@ -346,7 +346,7 @@ impl Agent for CodexAgent {
346
// For now, we can't actually load sessions from disk
347
// The conversation manager doesn't have a direct load method
348
// We would need to use resume_conversation_from_rollout with a rollout path
349
- return Err(Error::invalid_request());
+ return Err(Error::resource_not_found(None));
350
};
351
352
Ok(conversation.load().await?)
0 commit comments