chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
|
||||
import { cliModelConfigSchema } from "../../src/shared/validation/schemas.ts";
|
||||
|
||||
test("cliModelConfigSchema accepts Codex xhigh reasoning effort", () => {
|
||||
const result = cliModelConfigSchema.safeParse({
|
||||
baseUrl: "http://localhost:20128/api/v1",
|
||||
apiKey: "sk_omniroute",
|
||||
model: "gpt-5.5",
|
||||
reasoningEffort: "xhigh",
|
||||
wireApi: "responses",
|
||||
});
|
||||
|
||||
assert.equal(result.success, true);
|
||||
if (result.success) {
|
||||
assert.equal(result.data.reasoningEffort, "xhigh");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user