mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
92c45e2471moved Open WebUI off the model server onto the gateway and renamed test-ollama-chat.js to test-litellm-chat.js in the same commit, git records it as R073. `git ls-tree` on that commit shows only the successor in the directory, and both OLLAMA_* variables left playwright.env.j2 with it. fork/feature/svc-net-tor still carried the pre-refactor file. Merging it in7162b7bf4crestored test-ollama-chat.js and OLLAMA_PRELOAD_MODEL without a matching add: `git log --diff-filter=A` on that path knows only the original creation from06aa25c095. A scan of all 916 merges reachable from HEAD finds exactly one other path resurrected the same way, .github/pull_request_template.md, which is not a role file and is left alone here. Deleting it removes no coverage. The file never executed: it does not match the collector's `**/*.@(spec|test).js` and no aggregator required it, and the JUnit report from openwebui#1 lists thirteen tests with no `ollama chat` among them, not even as a skip. Four of its five assertions are byte-identical in the registered successor, which runs green in openwebui#1 and #2. The fifth is deliberately weaker there: the successor takes the first non-embedding model from /api/models instead of pinning OLLAMA_PRELOAD_MODEL, so a green run proves the gateway serves a chat model rather than that Ollama specifically does. That was the refactor's stated intent, exercising the chain rather than a fixture, and reviving the file would route a spec straight at a model server that a lint exists to keep roles away from. OLLAMA_PRELOAD_MODEL goes with it: the deleted spec was its only reader. The plural OLLAMA_PRELOAD_MODELS in svc-ai-ollama is a different variable and stays.