mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add type assertions for custom context window values
This commit is contained in:
parent
d9cac62f12
commit
a6cb99222e
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ export class MistralHandler extends BaseProvider implements SingleCompletionHand
|
|||
// Create a modified info object with reduced context window for better performance
|
||||
info = {
|
||||
...info,
|
||||
contextWindow: 41000,
|
||||
maxTokens: 41000,
|
||||
contextWindow: 41000 as any, // Use reduced context for better performance
|
||||
maxTokens: 41000 as any, // Match the context window limit
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue