You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add RetryOptions configuration model with configurable backoff parameters
- Implement retry logic with exponential backoff + jitter for transient Azure OpenAI errors
- Honor Retry-After header from 429 responses
- Wrap embedding generation calls with automatic retry wrapper
- Ensure batch processing can recover from transient failures
- Wire configuration via options pattern with safe defaults
- Add comprehensive logging for retry attempts and final failures
Fixes issue where transient 429 errors from text-embedding-3-small-v1
would fail entire embedding batch. Now retries with exponential backoff
(max 5 attempts by default) before failing with clear error context.
Restored D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat\EssentialCSharp.Chat.csproj (in 466 ms).
3
+
Restored D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj (in 466 ms).
4
+
Restored D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Tests\EssentialCSharp.Chat.Tests.csproj (in 498 ms).
5
+
Restored D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Web.Tests\EssentialCSharp.Web.Tests.csproj (in 981 ms).
6
+
Restored D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Web\EssentialCSharp.Web.csproj (in 981 ms).
7
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Extensions\ServiceCollectionExtensions.cs(102,80): error CS0117: 'RetryOptions' does not contain a definition for 'SectionName' [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
8
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(130,25): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
9
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(141,25): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
10
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(149,17): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
11
+
12
+
Build FAILED.
13
+
14
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Extensions\ServiceCollectionExtensions.cs(102,80): error CS0117: 'RetryOptions' does not contain a definition for 'SectionName' [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
15
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(130,25): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogWarning(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
16
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(141,25): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
17
+
D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\Services\EmbeddingService.cs(149,17): error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848) [D:\copilot-worktrees\EssentialCSharp.Web\benjaminmichaelis-psychic-memory\EssentialCSharp.Chat.Shared\EssentialCSharp.Chat.Common.csproj]
0 commit comments