Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DynamicApproach committed Sep 19, 2024
1 parent 8d0920d commit 91d7437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/OpenAIInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { HfInference } from "@huggingface/inference";
import { initGA } from "utils/ana";
import { logEvent } from "utils/ana";
const NEXT_PUBLIC_Hf = new HfInference(process.env.HUGGINGFACE_API_KEY);
const MAX_TOKENS_ALLOWED = 8092; // or any other value
const MAX_TOKENS_ALLOWED = 4096;

const NEXT_PUBLIC_deploymentKey = process.env.DEPLOYMENT_KEY;

Expand Down

0 comments on commit 91d7437

Please sign in to comment.