Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export async function __testWriteFileAtomic(
await writeFileAtomic(absPath, content, operations);
}

const GPT_APPLY_PATCH_PROVIDERS = new Set(["openai", "azure-openai-responses", "github-copilot"]);
const GPT_APPLY_PATCH_PROVIDERS = new Set(["openai", "openai-codex", "azure-openai-responses", "github-copilot"]);
export const PATCH_PREVIEW_MAX_LINES = 16;
export const PATCH_PREVIEW_MAX_CHARS = 4000;
const PATCH_PREVIEW_HEAD_LINES = 8;
Expand Down
1 change: 1 addition & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ EOF`;

it("#given model metadata #when checking GPT activation #then only OpenAI GPT models match", () => {
expect(isOpenAIGptModel({ provider: "openai", id: "gpt-5" })).toBe(true);
expect(isOpenAIGptModel({ provider: "openai-codex", id: "gpt-5.5" })).toBe(true);
expect(isOpenAIGptModel({ provider: "openai", id: "o1" })).toBe(false);
expect(isOpenAIGptModel({ provider: "anthropic", id: "gpt-5" })).toBe(false);
});
Expand Down