mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:20:43 +00:00
test: distill openai stream usage regression coverage
This commit is contained in:
@@ -1272,11 +1272,9 @@ describe("openai transport stream", () => {
|
||||
} as never,
|
||||
undefined,
|
||||
) as {
|
||||
stream?: boolean;
|
||||
stream_options?: { include_usage?: boolean };
|
||||
};
|
||||
|
||||
expect(params.stream).toBe(true);
|
||||
expect(params.stream_options).toEqual({ include_usage: true });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user