mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:20:44 +00:00
fix: map thinkingLevel to reasoning.effort for openai-responses-defaults family
This commit is contained in:
committed by
Peter Steinberger
parent
b9d2e0f86d
commit
c92490881b
22
test/scripts/check-gateway-watch-regression.test.ts
Normal file
22
test/scripts/check-gateway-watch-regression.test.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { isIgnoredDistRuntimeWatchPath } from "../../scripts/check-gateway-watch-regression.mjs";
|
||||
|
||||
describe("check-gateway-watch-regression", () => {
|
||||
it("ignores top-level dist-runtime extension dependency repairs", () => {
|
||||
expect(isIgnoredDistRuntimeWatchPath("dist-runtime/extensions/node_modules")).toBe(true);
|
||||
expect(
|
||||
isIgnoredDistRuntimeWatchPath(
|
||||
"dist-runtime/extensions/node_modules/playwright-core/index.js",
|
||||
),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("keeps plugin runtime graph paths counted", () => {
|
||||
expect(isIgnoredDistRuntimeWatchPath("dist-runtime/extensions/openai/index.js")).toBe(false);
|
||||
expect(
|
||||
isIgnoredDistRuntimeWatchPath(
|
||||
"dist-runtime/extensions/openai/node_modules/openclaw/index.js",
|
||||
),
|
||||
).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user