mirror of
https://github.com/openai/codex.git
synced 2026-11-16 06:54:36 +00:00
Add extra config to StoredThread, leave empty for now (#27092)
This commit is contained in:
1 parent
8534912df9
commit
e127a0cf99
18 files changed
+31
No files matched your search
@@ -122,6 +122,7 @@ pub(super) fn stored_thread_from_rollout_item(
|
||||
|
||||
Some(StoredThread {
|
||||
thread_id,
|
||||
extra_config: None,
|
||||
rollout_path: Some(rollout_path),
|
||||
forked_from_id: None,
|
||||
parent_thread_id: item.parent_thread_id,
|
||||
|
||||
@@ -1013,6 +1013,7 @@ mod tests {
|
||||
fn create_thread_params(thread_id: ThreadId) -> CreateThreadParams {
|
||||
CreateThreadParams {
|
||||
thread_id,
|
||||
extra_config: None,
|
||||
forked_from_id: None,
|
||||
parent_thread_id: None,
|
||||
source: SessionSource::Exec,
|
||||
|
||||
@@ -325,6 +325,7 @@ async fn stored_thread_from_sqlite_metadata(
|
||||
permission_profile_from_metadata_value(&metadata.sandbox_policy, metadata.cwd.as_path());
|
||||
StoredThread {
|
||||
thread_id: metadata.id,
|
||||
extra_config: None,
|
||||
rollout_path: Some(rollout_path),
|
||||
forked_from_id,
|
||||
parent_thread_id,
|
||||
@@ -390,6 +391,7 @@ fn stored_thread_from_meta_line(
|
||||
let rollout_path = codex_rollout::plain_rollout_path(path.as_path());
|
||||
StoredThread {
|
||||
thread_id: meta_line.meta.id,
|
||||
extra_config: None,
|
||||
rollout_path: Some(rollout_path),
|
||||
forked_from_id: meta_line.meta.forked_from_id,
|
||||
parent_thread_id: meta_line.meta.parent_thread_id,
|
||||
|
||||
Reference in new issue
Block a user