Skip to content

Commit

Permalink
Update model context windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mohankumarelec committed Nov 13, 2024
1 parent a942f78 commit b869243
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ export const PROVIDER_TYPES = ["chat", "completion"] as const;
export const ALLOWED_COMPLETION_MODELS = [
{
regex: "^gpt-3.5-turbo-.*instruct",
contextWindow: 4096,
contextWindow: 3500,
tokenizerUrl:
"https://cdn.jsdelivr.net/gh/flexpilot-ai/vscode-extension/tokenizers/cl100k_base.json",
},
{
regex: "^codestral-(?!.*mamba)",
contextWindow: 32768,
contextWindow: 30000,
tokenizerUrl:
"https://cdn.jsdelivr.net/gh/flexpilot-ai/vscode-extension/tokenizers/codestral-v0.1.json",
},
{
regex: "^gpt-35-turbo-.*instruct",
contextWindow: 4096,
contextWindow: 3500,
tokenizerUrl:
"https://cdn.jsdelivr.net/gh/flexpilot-ai/vscode-extension/tokenizers/cl100k_base.json",
},
Expand Down

0 comments on commit b869243

Please sign in to comment.