mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:00:44 +00:00
fix: keep copilot on boundary-aware stream path
This commit is contained in:
@@ -145,7 +145,11 @@ describeLive("github-copilot connection-bound Responses IDs live", () => {
|
||||
};
|
||||
let capturedPayload: Record<string, unknown> | undefined;
|
||||
|
||||
const stream = wrapCopilotOpenAIResponsesStream(streamOpenAIResponses as never)(
|
||||
const wrappedStream = wrapCopilotOpenAIResponsesStream(streamOpenAIResponses as never);
|
||||
if (!wrappedStream) {
|
||||
throw new Error("expected Copilot Responses stream wrapper");
|
||||
}
|
||||
const stream = wrappedStream(
|
||||
model as never,
|
||||
context as never,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user