Skip to content

Commit cba7f67

Browse files
Update app/api/chat/morph-chat/route.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Gerome <[email protected]>
1 parent 1d1f883 commit cba7f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/chat/morph-chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function POST(req: Request) {
4242
return createRateLimitResponse(limit)
4343
}
4444

45-
const { model: modelNameString, apiKey: modelApiKey, ...modelParams } = config
45+
const { model: _model, apiKey: _apiKey, ...modelParams } = config
4646
const modelClient = getModelClient(model, config)
4747

4848
try {

0 commit comments

Comments
 (0)