test: type legacy codex model fixture

This commit is contained in:
Peter Steinberger
2026-04-24 18:30:51 +01:00
parent 0c70cb3b9c
commit ec3dbd22a4

View File

@@ -1,7 +1,8 @@
import { describe, expect, it } from "vitest";
import type { ModelDefinitionConfig } from "../config/types.models.js";
import { isLegacyModelsAddCodexMetadataModel } from "./openai-codex-models-add-legacy.js";
function buildLegacyModel(id: string) {
function buildLegacyModel(id: string): Partial<ModelDefinitionConfig> {
return {
id,
api: "openai-codex-responses",