Files
OmniRoute/test_exception.ts
T
diegosouzapw 5ad687c6d8 fix(ui/ci): use ProviderIcon for Provider header breadcrumbs and add permissions to electron-release.yml (#745, #761)
- Use ProviderIcon for internal .png paths solving SVG provider 404 images (#745).
- Add id-token: write and packages: write permissions to .github/workflows/electron-release.yml to fix permissions denied failure when calling the reusable workflow npm-publish.yml (#761).
- Fix tests and ESM resolution for autoUpdate.ts override logic.
2026-03-30 07:38:30 -03:00

26 lines
765 B
TypeScript

import { openaiToOpenAIResponsesRequest } from "./open-sse/translator/request/openai-responses.ts";
const root = {
model: "gpt-5.3-codex-xhigh",
messages: [
{
role: "user",
content: [
{
type: "text",
text: "<system-reminder>\nThe following skills are available...",
},
],
},
],
};
try {
// Let's modify the file to actually export the function throwing or we can just copy the original logic.
// Actually, wait, let's just create a modified version of it here inline to see where it breaks.
const result = openaiToOpenAIResponsesRequest("gpt-5.3-codex-xhigh", root, true, null);
console.log("Result:", JSON.stringify(result, null, 2));
} catch (e) {
console.error("Test Error:", e);
}