fix: TypeError: Cannot read properties of undefined (reading 'authType') (#3914)

This commit is contained in:
Gaurav
2025-07-11 14:08:49 -07:00
committed by GitHub
parent a071f604e3
commit 764809753a
5 changed files with 13 additions and 13 deletions

View File

@@ -215,7 +215,7 @@ export async function main() {
'event.timestamp': new Date().toISOString(),
prompt: input,
prompt_id,
auth_type: config.getContentGeneratorConfig().authType!,
auth_type: config.getContentGeneratorConfig()?.authType,
prompt_length: input.length,
});