Skip to content

Commit

Permalink
chore: restore openai in route
Browse files Browse the repository at this point in the history
  • Loading branch information
arshad-yaseen committed Feb 16, 2025
1 parent 010626a commit c1bdeb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playground/app/api/code-completion/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import {NextRequest, NextResponse} from 'next/server';

import {CompletionCopilot} from 'monacopilot';

const copilot = new CompletionCopilot(process.env.GROQ_API_KEY, {
provider: 'groq',
model: 'llama-3-70b',
const copilot = new CompletionCopilot(process.env.OPENAI_API_KEY, {
provider: 'openai',
model: 'gpt-4o-mini',
});

export async function POST(req: NextRequest) {
Expand Down

0 comments on commit c1bdeb1

Please # to comment.