WIP: Touched literally nothing, ship it #1
Loading…
Reference in a new issue
No description provided.
Delete branch "some-other-dev/ollama-orchestrator:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Minor insignificant changes, should not break anything, trust me bro guarantee™
Production ready btw
This was just a first quick pass, but I noticed something.
I also think it would be pertinent to setup some CI tools to keep some consistency in code formatting, as I also noticed that a few additions were just formatting style, another error on my half.
@ -0,0 +143,4 @@};};systemd.services.ollama-orchestrator-proxy = {Error on my half, the proxy service shouldn't be installed at the same time as heartbeat and cli.
There should be two nix options. One for installing on Ollama machine, and one for installing on the machine that runs the proxy. What those option names should be is up for discourse.
Touched literally nothing, ship itto WIP: Touched literally nothing, ship it- Eagerly cache /api/version and /v1/models alongside /api/tags while Ready. - Serve /v1/models/{id} from the cached list; 404 with an OpenAI-style error envelope when the model is not in it. - Lazily cache /api/show per model (buffered write-through on the forward path); uncached models get a 503, missing model key gets a 400. - Synthesize 200 {"models":[]} for /api/ps while down: a sleeping box has nothing loaded, so answer truthfully instead of 503. - Discovery classification covers the new paths; unknown/future endpoints still wake the box by design. - Cache format is now multi-endpoint; old cache files load as empty. Validated end-to-end against a real local Ollama via scripts/mock-heartbeat.py: warm-then-shutdown serves all discovery paths from cache, inference 503s + WoL. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.