BaaRai
1c35c9cf68
fix(ollama): normalize the base URL on the environment path too
...
The saved-profile path normalized /v1 but FromEnv did not, so
ARTEX_LLM_BASE_URL=http://host:11434 sent chat to /chat/completions and got a
404 on a LAN Ollama server. Share one helper between both entry points, and add
an env-path test with a bare host and with a full endpoint URL.
Also soften the keyless comment: a local Ollama ignores the bearer token, but a
gateway in front of it can require one, which belongs in a saved profile.
2026-11-02 17:03:57 +01:00
..
2026-10-12 06:26:51 +02:00
2026-10-08 23:14:34 +02:00
2026-10-10 18:12:42 +02:00
2026-10-08 23:14:34 +02:00
2026-10-10 18:12:42 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-12 07:30:27 +02:00
2026-07-26 04:27:45 -04:00
2026-09-10 14:08:40 +08:00
2026-10-12 07:29:59 +02:00
2026-10-12 06:25:35 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-09-10 14:08:40 +08:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-12 00:58:53 +02:00
2026-10-08 23:14:34 +02:00
2026-10-12 06:45:21 +02:00
2026-10-21 14:25:35 +02:00
2026-10-12 00:58:53 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-12 08:02:08 +02:00
2026-08-25 09:40:05 -04:00
2026-09-07 11:21:50 -04:00
2026-10-08 23:14:34 +02:00
2026-08-25 11:39:24 -04:00
2026-11-02 17:03:57 +01:00
2026-09-07 10:43:38 -04:00
2026-10-12 06:26:51 +02:00
2026-10-08 23:14:34 +02:00
2026-08-24 19:29:00 +08:00
2026-09-07 11:21:50 -04:00
2026-10-08 23:14:34 +02:00
2026-09-10 21:42:25 +08:00
2026-10-21 14:46:56 +02:00
2026-07-26 04:27:45 -04:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-12 18:43:29 +02:00
2026-08-08 09:09:38 -04:00
2026-10-09 14:28:08 +02:00
2026-10-09 14:28:08 +02:00
2026-10-08 23:14:34 +02:00
2026-10-09 14:28:08 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-21 14:46:56 +02:00
2026-08-29 21:55:27 +08:00
2026-10-21 14:25:35 +02:00
2026-10-08 23:14:34 +02:00