5ad687c6d8
- 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.
26 lines
765 B
TypeScript
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);
|
|
}
|