Kind: Function
Source: atloria-monorepo/apps/cli/src/utils/ai-auth-debugger.ts
Ask AI to analyze authentication failure and suggest fixes
Signature
tsasync function analyzeAuthFailureWithAI(diagnostics: AuthDiagnostics, config: AuthConfig, debugGuideContent: string): Promise<{
analysis: string;
suggestedFixes: Array<{
type: 'alert-handling' | 'selector-change' | 'timing-adjustment' | 'method-change';
description: string;
code?: string;
}>;
}>
Parameters
| Name | Type |
|---|---|
diagnostics | AuthDiagnostics |
config | AuthConfig |
debugGuideContent | string |
Returns: Promise<{ analysis: string; suggestedFixes: Array<{ type: 'alert-handling' | 'selector-change' | 'timing-adjustment' | 'method-change'; description: string; code?: string; }>; }>
Was this page helpful?