feat(git): Add Claude as a TextGenerationProvider (#1323)

Co-authored-by: keyzou <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-03-25 12:08:28 -07:00
1 parent 3289a25e57
commit ff8d87ddee
34 files changed
+1923 -608

No files matched your search

+12
View File
@@ -1838,6 +1838,10 @@ describe("WebSocket Server", () => {
actionId: "client-action-1",
cwd: "/test",
action: "commit_push",
modelSelection: {
provider: "codex",
model: "gpt-5.4-mini",
},
});
expect(response.result).toBeUndefined();
expect(response.error?.message).toContain("detached HEAD");
@@ -1846,6 +1850,10 @@ describe("WebSocket Server", () => {
actionId: "client-action-1",
cwd: "/test",
action: "commit_push",
modelSelection: {
provider: "codex",
model: "gpt-5.4-mini",
},
},
expect.objectContaining({
actionId: "client-action-1",
@@ -1901,6 +1909,10 @@ describe("WebSocket Server", () => {
actionId: "client-action-2",
cwd: "/test",
action: "commit",
modelSelection: {
provider: "codex",
model: "gpt-5.4-mini",
},
});
const progressPush = await waitForPush(initiatingWs, WS_CHANNELS.gitActionProgress);