mirror of
https://github.com/openai/codex.git
synced 2026-05-02 10:26:45 +00:00
Add rollout path to memory files and search for them during read (#12684)
Co-authored-by: jif-oai <jif@openai.com>
This commit is contained in:
@@ -218,7 +218,7 @@ LEFT JOIN jobs
|
||||
///
|
||||
/// Query behavior:
|
||||
/// - filters out rows where both `raw_memory` and `rollout_summary` are blank
|
||||
/// - joins `threads` to include thread `cwd`
|
||||
/// - joins `threads` to include thread `cwd` and `rollout_path`
|
||||
/// - orders by `source_updated_at DESC, thread_id DESC`
|
||||
/// - applies `LIMIT n`
|
||||
pub async fn list_stage1_outputs_for_global(
|
||||
@@ -233,6 +233,7 @@ LEFT JOIN jobs
|
||||
r#"
|
||||
SELECT
|
||||
so.thread_id,
|
||||
COALESCE(t.rollout_path, '') AS rollout_path,
|
||||
so.source_updated_at,
|
||||
so.raw_memory,
|
||||
so.rollout_summary,
|
||||
|
||||
Reference in New Issue
Block a user