test: type legacy codex model fixture · openclaw/openclaw@ec3dbd2
steipete
·
2026-04-25
·
via Recent Commits to openclaw:main
Commit ec3dbd2
test: type legacy codex model fixture
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { describe, expect, it } from "vitest"; |
| 2 | +import type { ModelDefinitionConfig } from "../config/types.models.js"; |
2 | 3 | import { isLegacyModelsAddCodexMetadataModel } from "./openai-codex-models-add-legacy.js"; |
3 | 4 | |
4 | | -function buildLegacyModel(id: string) { |
| 5 | +function buildLegacyModel(id: string): Partial<ModelDefinitionConfig> { |
5 | 6 | return { |
6 | 7 | id, |
7 | 8 | api: "openai-codex-responses", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)