mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 22:21:33 +00:00
refactor: split provider stream sdk seams
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { buildCopilotDynamicHeaders } from "openclaw/plugin-sdk/provider-stream";
|
||||
import { buildCopilotDynamicHeaders } from "openclaw/plugin-sdk/provider-stream-shared";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import { wrapCopilotAnthropicStream, wrapCopilotProviderStream } from "./stream.js";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
buildCopilotDynamicHeaders,
|
||||
hasCopilotVisionInput,
|
||||
streamWithPayloadPatch,
|
||||
} from "openclaw/plugin-sdk/provider-stream";
|
||||
} from "openclaw/plugin-sdk/provider-stream-shared";
|
||||
|
||||
type StreamContext = Parameters<StreamFn>[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user