Skip to content

Commit

Permalink
add: deepseek v3 (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Feb 20, 2025
1 parent 4f925ad commit a3dcb76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/backend/src/api/v1/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ models.get("/", checkAccess("logs", "list"), async (ctx: Context) => {

models.get("/custom", async (ctx: Context) => {
const { projectId } = ctx.state;
console.log(projectId);
const models = await sql`
select
custom_model.id,
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/components/prompts/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ export default function ProviderEditor({
const [tempJSON, setTempJSON] = useState<any>("");
const [jsonModalOpened, setJsonModalOpened] = useState(false);
const [models, setModels] = useState(MODELS);
const { customModels } = useAllProviderModels();
// const { customModels } = useAllProviderModels();
const customModels = [];
const router = useRouter();

useEffect(() => {
Expand Down
5 changes: 5 additions & 0 deletions packages/shared/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ export const MODELS = [
name: "deepseek-r1",
provider: "openrouter",
},
{
id: "deepseek/deepseek-chat",
name: "deepseek-v3",
provider: "openrouter",
},
{
id: "microsoft/phi-4",
name: "phi-4",
Expand Down

0 comments on commit a3dcb76

Please sign in to comment.