Improve LLM client immutability and CI model defaults. #9

Merged
keligrubb merged 1 commits from feature/openwebui-ci-ollama-client into main 2026-04-15 02:45:25 +00:00
Owner

Replace mutable Ollama model export with a const fallback and initializeModel return value, resolving the model from the environment after optional API discovery. Use a for-of loop over attempt indices instead of let in the retry path.

Continue PDF generation when map image generation or upscaling fails, and avoid mutating request headers in place.

Document Open WebUI-style URLs in the README, pin OLLAMA_MODEL in the Gitea release workflow, and adjust integration and unit tests for the new initialization behavior.

Replace mutable Ollama model export with a const fallback and initializeModel return value, resolving the model from the environment after optional API discovery. Use a for-of loop over attempt indices instead of let in the retry path. Continue PDF generation when map image generation or upscaling fails, and avoid mutating request headers in place. Document Open WebUI-style URLs in the README, pin OLLAMA_MODEL in the Gitea release workflow, and adjust integration and unit tests for the new initialization behavior.
keligrubb added 1 commit 2026-04-15 02:43:14 +00:00
Improve LLM client immutability and CI model defaults.
PR / lint (pull_request) Successful in 14s
PR / test-coverage (pull_request) Successful in 31s
a6327fe573
Replace mutable Ollama model export with a const fallback and initializeModel return value, resolving the model from the environment after optional API discovery. Use a for-of loop over attempt indices instead of let in the retry path.

Continue PDF generation when map image generation or upscaling fails, and avoid mutating request headers in place.

Document Open WebUI-style URLs in the README, pin OLLAMA_MODEL in the Gitea release workflow, and adjust integration and unit tests for the new initialization behavior.
keligrubb merged commit 7ea9f93dc8 into main 2026-04-15 02:45:25 +00:00
keligrubb deleted branch feature/openwebui-ci-ollama-client 2026-04-15 02:45:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keligrubb/scrollsmith#9