pub async fn start_streaming_with_fallback(
config: &StreamingConfig,
prompt: &str,
tool_schemas: Option<ProviderToolSchemas>,
tx: Sender<StreamChunk>,
cancel_token: CancellationToken,
) -> Result<(), AppError>Expand description
Start streaming with fallback to secondary provider on failure Implements jittered exponential backoff with rate-limit-aware delay selection before falling back.