Refactor error handling and update tests

Refactored error handling in OllamaChatEndpointCaller by extracting status code checks into a helper method. Improved logging for image loading errors in OllamaChatRequestBuilder. Updated integration and unit tests to relax assertions and clarify comments. Minor documentation formatting fixes and Makefile improvement for reproducible npm installs.
This commit is contained in:
amithkoujalgi
2025-09-18 01:50:23 +05:30
parent 7788f954d6
commit 0aeabcc963
14 changed files with 130 additions and 112 deletions

View File

@@ -47,7 +47,7 @@ list-releases:
docs-build:
@echo "\033[0;34mBuilding documentation site...\033[0m"
@cd ./docs && npm install --prefix && npm run build
@cd ./docs && npm ci --no-audit --fund=false && npm run build
docs-serve:
@echo "\033[0;34mServing documentation site...\033[0m"