mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 03:51:25 +00:00
feat(models): support anthropic sonnet 4.6
This commit is contained in:
@@ -45,6 +45,14 @@ describe("model-selection", () => {
|
||||
provider: "anthropic",
|
||||
model: "claude-opus-4-6",
|
||||
});
|
||||
expect(parseModelRef("anthropic/sonnet-4.6", "openai")).toEqual({
|
||||
provider: "anthropic",
|
||||
model: "claude-sonnet-4-6",
|
||||
});
|
||||
expect(parseModelRef("sonnet-4.6", "anthropic")).toEqual({
|
||||
provider: "anthropic",
|
||||
model: "claude-sonnet-4-6",
|
||||
});
|
||||
});
|
||||
|
||||
it("should use default provider if none specified", () => {
|
||||
|
||||
Reference in New Issue
Block a user