forked from Mirror/ollama4j
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:
2
Makefile
2
Makefile
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user