12 lines
325 B
TypeScript
12 lines
325 B
TypeScript
import type { ModelProviderConfig } from "openclaw/plugin-sdk/provider-models";
|
|
|
|
export const OPENAI_CODEX_BASE_URL = "https://chatgpt.com/backend-api";
|
|
|
|
export function buildOpenAICodexProvider(): ModelProviderConfig {
|
|
return {
|
|
baseUrl: OPENAI_CODEX_BASE_URL,
|
|
api: "openai-codex-responses",
|
|
models: [],
|
|
};
|
|
}
|