Skip to content

Commit 416e2c9

Browse files
committed
fix(agents): keep strict mode for projected OpenAI tools
Cherry-pick from main to fix pre-existing test failure in openai-transport-stream where tools are expected to have strict:true but code on this branch produces strict:false.
1 parent 0e15872 commit 416e2c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/cli/ports.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ async function isPortBusy(port: number): Promise<boolean> {
141141
return false;
142142
case "unknown":
143143
throw new Error(`isPortBusy: port ${port} probe returned unknown status`);
144+
default:
145+
return false;
144146
}
145147
}
146148

0 commit comments

Comments
 (0)