Skip to content

Commit

Permalink
Fix missing type definitions in chat route
Browse files Browse the repository at this point in the history
Signed-off-by: Milan Gruner <[email protected]>
  • Loading branch information
lemilonkh committed Mar 4, 2024
1 parent c652beb commit 5739c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/app/api/v0/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import OpenAI from "openai";
import { ChatCompletionMessageParam } from "openai/resources/chat/completions";
import { apiHandler } from "@/util/api";

let Hf, openai;
let Hf: HfInference, openai: OpenAI;

function setupModels() {
if (!Hf) {
Expand Down

0 comments on commit 5739c82

Please sign in to comment.