mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-23 15:42:12 +03:00
Validated on the combined batch board over release/v3.8.50 tip d91238b7: static gates clean, typecheck:core clean, focused tests green.
Learned reasoning_effort caps mirror the merged learnedThinkingCaps mechanism: parse the upstream 4xx enum, clamp, retry once, consult proactively — covers custom openai-compatible connections the static registry can't. 22 new test cases + full regression list green. Fixes #11111. Thank you @maxmad64bis!
8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
import { test } from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import { HTTP_STATUS } from "../../open-sse/config/constants.ts";
|
|
|
|
test("HTTP_STATUS declares UNPROCESSABLE_ENTITY as 422", () => {
|
|
assert.equal(HTTP_STATUS.UNPROCESSABLE_ENTITY, 422);
|
|
});
|