RunOnce
RunOnce copied to clipboard
LLM API Request Timeout Handling Incomplete
Scenario: When LLM API request times out, only network issue is reported without retry mechanism File: Static/LlmClient.cs Code:
catch (TaskCanceledException ex) when (!cancellationToken.IsCancellationRequested)
{
throw new TimeoutException(
Text.Localize("LLM API request timeout, please check network connection or increase timeout in settings."), ex);
}
Issue: Timeout exception handling is too simple, should provide automatic retry mechanism or more detailed error diagnostics