mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-20 14:12:59 +03:00
fix(build): correct modelResolution import path in responses route (#3113)
The webpack build failed: route.ts imported '../internal/codex-responses-ws/ modelResolution' (resolves to api/v1/internal/, which doesn't exist). The module lives at api/internal/codex-responses-ws/. Switched to the @/app/api/... alias. typecheck/tests passed (tsx resolves leniently; tests import the module directly), only the production build caught it.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { handleChat } from "@/sse/handlers/chat";
|
||||
import { withEarlyStreamKeepalive } from "@omniroute/open-sse/utils/earlyStreamKeepalive";
|
||||
import { resolveResponsesApiModel } from "../internal/codex-responses-ws/modelResolution";
|
||||
import { resolveResponsesApiModel } from "@/app/api/internal/codex-responses-ws/modelResolution";
|
||||
import { getModelInfo } from "@/sse/services/model";
|
||||
|
||||
// NOTE: We do NOT call initTranslators() here — the translator registry is
|
||||
|
||||
Reference in New Issue
Block a user