diagnose abstract method
Future<FFAiResponse>
diagnose({
- required FFSnapshot snapshot,
- required String systemPrompt,
- required String userPrompt,
Sends prompt to the underlying provider and returns the assistant text.
Always throws FFAiException on any non-success path (wrong key, network error, rate-limit, etc.) so callers only need one catch block.
Implementation
Future<FFAiResponse> diagnose({
required FFSnapshot snapshot,
required String systemPrompt,
required String userPrompt,
});