mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:10:44 +00:00
test: type legacy codex model fixture
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user