fix: resolve TS4111 build error by using bracket notation for index signatures

This commit is contained in:
Adam Weidman
2026-02-11 18:32:45 -05:00
parent b269464df2
commit b82b98e71b

View File

@@ -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 = {