You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Ollama API supports creating models from local files via its REST endpoints
The ollama-js SDK currently does not implement this functionality
Implementation is blocked by Node.js file upload streaming challenges
Technical Details
The main blocker is handling large file uploads efficiently in Node.js when streaming to the Ollama API. Specific challenges include:
Maintaining memory efficiency with large model files, we can't just read them into memory
Handling chunked uploads consistently, checksums were failing in previous implementations
Managing proper content-type and multipart form data boundaries
Ensuring reliable error handling during long-running uploads
The text was updated successfully, but these errors were encountered:
Current Situation
The Ollama API supports creating models from local files via its REST endpoints
The ollama-js SDK currently does not implement this functionality
Implementation is blocked by Node.js file upload streaming challenges
Technical Details
The main blocker is handling large file uploads efficiently in Node.js when streaming to the Ollama API. Specific challenges include:
The text was updated successfully, but these errors were encountered: