-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add fallback to vanilla and loader
- Loading branch information
Showing
5 changed files
with
50 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export const MAINTENANCE_MODE = false; | ||
export const MAINTENANCE_GENERATION = false; | ||
export const MAINTENANCE_USE_VANILLA_MODEL = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
export function getFallbackModel(): string { | ||
// Randomly choose between versatile models | ||
return Math.random() < 0.5 ? 'llama-3.3-70b-versatile' : 'llama-3.1-70b-versatile'; | ||
// Randomly choose between versatile models | ||
return Math.random() < 0.5 | ||
? "llama-3.3-70b-versatile" | ||
: "llama-3.1-70b-versatile"; | ||
} | ||
|
||
export const PRIMARY_MODEL = 'llama-3.3-70b-specdec'; | ||
export const PRIMARY_MODEL = "llama-3.3-70b-specdec"; | ||
export const VANILLA_MODEL = "llama-3.3-70b-versatile"; | ||
|
||
export const PRIMARY_VISION_MODEL = 'llama-3.2-90b-vision-preview'; | ||
export const FALLBACK_VISION_MODEL = 'llama-3.2-11b-vision-preview'; | ||
export const PRIMARY_VISION_MODEL = "llama-3.2-90b-vision-preview"; | ||
export const FALLBACK_VISION_MODEL = "llama-3.2-11b-vision-preview"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters