mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 07:01:09 -07:00
fix: resolve TS4111 build error by using bracket notation for index signatures
This commit is contained in:
@@ -171,10 +171,10 @@ export class ModelConfigService {
|
||||
|
||||
// Ensure we don't have BOTH if one was a default from an alias
|
||||
if (context.thinkingLevel) {
|
||||
delete (thinkingConfig as Record<string, unknown>).thinkingBudget;
|
||||
delete (thinkingConfig as Record<string, unknown>)['thinkingBudget'];
|
||||
}
|
||||
if (context.thinkingBudget) {
|
||||
delete (thinkingConfig as Record<string, unknown>).thinkingLevel;
|
||||
delete (thinkingConfig as Record<string, unknown>)['thinkingLevel'];
|
||||
}
|
||||
|
||||
currentConfig.generateContentConfig = {
|
||||
|
||||
Reference in New Issue
Block a user