mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 05:04:44 +00:00
feat(ai): route copilot claude via anthropic messages api
This commit is contained in:
parent
cf1353b8e7
commit
0a132a30a1
9 changed files with 196 additions and 76 deletions
|
|
@ -28,7 +28,7 @@ describe("Copilot Claude model routing", () => {
|
|||
|
||||
it("does not have compat block on Claude models (completions-API-specific)", () => {
|
||||
const sonnet = getModel("github-copilot", "claude-sonnet-4");
|
||||
expect((sonnet as any).compat).toBeUndefined();
|
||||
expect("compat" in sonnet).toBe(false);
|
||||
});
|
||||
|
||||
it("preserves static Copilot headers on Claude models", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue