Loosen provider type to a string (#144)

This commit is contained in:
Will Chen
2025-05-12 22:29:36 -07:00
committed by GitHub
parent f628c81f4c
commit d1027622b4
3 changed files with 6 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
import type { LargeLanguageModel, ModelProvider } from "@/lib/schemas";
import type { LargeLanguageModel } from "@/lib/schemas";
import { Button } from "@/components/ui/button";
import {
Tooltip,
@@ -216,7 +216,7 @@ export function ModelPicker({
onClick={() => {
onModelSelect({
name: model.apiName,
provider: providerId as ModelProvider,
provider: providerId,
});
setOpen(false);
}}