Files
sentio/crates
Jens Nylander 1ff8211509 llm: fix jev's empty base_url and stop retrying builder errors
Found by running it in the pipeline rather than against a mock.
config/oss.toml ships base_url = "", which deserializes to Some("")
and not None, so the default never applied and every request built a
relative URL and died in reqwest's builder. All 17 mocked tests passed a
real URL, so none of them could see it.

A builder error is also deterministic, so retrying it spent the whole
backoff budget on every message for a failure that can never clear. Only
failures that reached the network retry now.

In-pipeline result: a phishing message classifies as threat
(unsolicited=0.84, phishing=0.88), an ordinary one as support
(0.16, 0.13), both persisted on the message row and carried on the
webhook payload.
2026-09-21 09:42:09 +02:00
..