Skip to content

Commit f2bda6e

Browse files
committed
test(webview): use canonical Anthropic identifier
1 parent 3af98ba commit f2bda6e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webview-ui/src/components/ui/hooks/__tests__/useSelectedModel.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
vscodeLlmDefaultModelId,
2424
moonshotDefaultModelId,
2525
moonshotModels,
26+
providerIdentifiers,
2627
} from "@roo-code/types"
2728

2829
import { useSelectedModel } from "../useSelectedModel"
@@ -444,7 +445,7 @@ describe("useSelectedModel", () => {
444445

445446
it("should apply 1M pricing tier for Claude Opus 4.6 when enabled", () => {
446447
const apiConfiguration: ProviderSettings = {
447-
apiProvider: "anthropic",
448+
apiProvider: providerIdentifiers.anthropic,
448449
apiModelId: "claude-opus-4-6",
449450
anthropicBeta1MContext: true,
450451
}

0 commit comments

Comments
 (0)