mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-29 12:59:13 +01:00
test(runner): wait for Codex tool completion
This commit is contained in:
1 parent
0ea77b2391
commit
ab41f9fc32
1 file changed
+2
-1
@@ -354,7 +354,8 @@ fn codex_dynamic_tool_round_trips_through_the_provider_boundary() {
|
||||
|
||||
let mut delivered = false;
|
||||
let mut completed = false;
|
||||
for _ in 0..32 {
|
||||
let deadline = std::time::Instant::now() + std::time::Duration::from_secs(5);
|
||||
while std::time::Instant::now() < deadline {
|
||||
match provider.poll().expect("poll semantic tool event") {
|
||||
Some(CodexProviderEvent::ToolCall {
|
||||
call_id,
|
||||
|
||||
Reference in new issue
Block a user