diff --git a/app/MindWork AI Studio/Provider/BaseProvider.cs b/app/MindWork AI Studio/Provider/BaseProvider.cs index f0e8a64d..94693221 100644 --- a/app/MindWork AI Studio/Provider/BaseProvider.cs +++ b/app/MindWork AI Studio/Provider/BaseProvider.cs @@ -596,17 +596,12 @@ public abstract class BaseProvider : IProvider, ISecretId /// /// Providers word their errors differently, but they all put a sentence somewhere into the /// body. Passing that sentence on is what lets a user act on the problem instead of only - /// learning that something went wrong. + /// learning that something went wrong. Open to the providers themselves as well, because some + /// of them talk to an endpoint of their own rather than through the shared request methods, + /// and their users deserve the same explanation. /// /// The body of the failed response. /// The message, or an empty string when the body carries none. - /// - /// Reads what the provider itself said about a failure out of its error response. - /// - /// - /// Available to the providers because some of them talk to an endpoint of their own rather - /// than through the shared request methods, and their users deserve the same explanation. - /// protected static string ReadProviderErrorMessage(string responseBody) { if (string.IsNullOrWhiteSpace(responseBody))