Add 2 million Google AI context (khanon/oai-reverse-proxy!82)

This commit is contained in:
Nopm 2024-12-04 01:27:21 +00:00 committed by khanon
parent 5eeb2875b4
commit 8a325a1e0b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import { RequestPreprocessor } from "../index";
const CLAUDE_MAX_CONTEXT = config.maxContextTokensAnthropic;
const OPENAI_MAX_CONTEXT = config.maxContextTokensOpenAI;
// todo: make configurable
const GOOGLE_AI_MAX_CONTEXT = 1024000;
const GOOGLE_AI_MAX_CONTEXT = 2048000;
const MISTRAL_AI_MAX_CONTENT = 131072;
/**