mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: TypeError: Cannot read properties of undefined (reading 'authType') (#3914)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user