Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jjuliano
Copy link
Member

@jjuliano jjuliano commented Sep 4, 2025

This changes coordinates both changes forrm the 'kdeps/schema' repo, to be able to use embedded PKL assets. The assets pipeline was now being used by default in Kdeps to ensure it can evaluate the PKL without internet connection.

In addition, there are several fixes to Websockets and Ollama model caching to persistent storage.

- Add proactive model availability checking before LLM operations
- Improve error detection to focus on specific 'try pulling it first' errors
- Implement automatic model syncing from /root/.ollama/models/ to /models/ after successful pulls
- Enhance rsync commands with --progress flag for better visibility
- Fix nil pointer dereferences in timestamps.go for improved stability
- Update schema version handling to use dynamic versions instead of hardcoded values
- Set GIN web framework to release mode to eliminate debug warnings
- Expand test coverage with comprehensive error detection tests
- Add detailed logging for model operations and sync processes

This commit significantly improves the robustness of Ollama model handling,
ensures model persistence across container restarts, and provides better
user feedback during model operations.
@jjuliano jjuliano merged commit 45fef48 into main Sep 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants