KamoCRM

No upstream error text reaches a member, whichever provider failed

FixAIService
Shipped
30 ஆகஸ்ட், 2026 அன்று 2:05 AM UTC
Author
Kamo
Commit
a03b4a4

memberTextFor fell through to getMessage() for anything that was not an AiProviderException. Only the HuggingFace adapter classifies its refusals; every other one reaches the transports as whatever its HTTP client threw, and Spring's WebClientResponseException carries the upstream method, URL and completions". So the guarantee held for exactly one provider and the chat window could still name the vendor and endpoint the organization runs on, which is not a member's to learn from an error. One sentence for everything unclassified. The detail was already logged at both call sites, which is where it is useful, and closing it at this seam covers adapters that do not exist yet.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing