mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -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
|
// Ensure we don't have BOTH if one was a default from an alias
|
||||||
if (context.thinkingLevel) {
|
if (context.thinkingLevel) {
|
||||||
delete (thinkingConfig as Record<string, unknown>).thinkingBudget;
|
delete (thinkingConfig as Record<string, unknown>)['thinkingBudget'];
|
||||||
}
|
}
|
||||||
if (context.thinkingBudget) {
|
if (context.thinkingBudget) {
|
||||||
delete (thinkingConfig as Record<string, unknown>).thinkingLevel;
|
delete (thinkingConfig as Record<string, unknown>)['thinkingLevel'];
|
||||||
}
|
}
|
||||||
|
|
||||||
currentConfig.generateContentConfig = {
|
currentConfig.generateContentConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user