Use friendly CN model in region binding test
Co-authored-by: Simon Shi <simonsmh@users.noreply.github.com>
This commit is contained in:
co-authored by
Simon Shi
parent
11249d12c4
commit
10ab666f31
@@ -174,7 +174,7 @@ describe("streamQoder", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
globalThis.fetch = mockFetch(SUCCESS_SSE);
|
globalThis.fetch = mockFetch(SUCCESS_SSE);
|
||||||
await consume(streamQoder(makeModel("qoder-cn"), makeContext(), { apiKey: "fake" }));
|
await consume(streamQoder(makeModel("qoder-cn", "Qwen3.7-Plus"), makeContext(), { apiKey: "fake" }));
|
||||||
expect(globalThis.fetch).toHaveBeenCalledWith(
|
expect(globalThis.fetch).toHaveBeenCalledWith(
|
||||||
expect.stringMatching(/^https:\/\/gateway\.qoder\.com\.cn\//),
|
expect.stringMatching(/^https:\/\/gateway\.qoder\.com\.cn\//),
|
||||||
expect.any(Object),
|
expect.any(Object),
|
||||||
|
|||||||
Reference in New Issue
Block a user