mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
Restrict inference call lookups to the thread.
This commit is contained in:
@@ -75,7 +75,8 @@ impl TraceReducer {
|
||||
.inference_calls
|
||||
.values()
|
||||
.find(|inference| {
|
||||
inference.upstream_request_id.as_deref() == Some(previous_response_id)
|
||||
inference.thread_id == thread_id
|
||||
&& inference.upstream_request_id.as_deref() == Some(previous_response_id)
|
||||
})
|
||||
.map(|inference| {
|
||||
let mut ids = inference.request_item_ids.clone();
|
||||
|
||||
Reference in New Issue
Block a user