serve: engine default still said glm after the rename — direct invocation broken on a clean checkout#526
Merged
Merged
Conversation
python3 openai_server.py --model <dir> looked for a binary named 'glm' next to itself. Since #391 the build produces 'colibri', so direct invocation was broken on any clean checkout -- it only appeared to work in trees that still had a stale glm from an older build. Spotted by @RDouglasSharp while working on #488. Resolve the engine by probing colibri / colibri.exe first and falling back to glm / glm.exe, the same order the coli launcher uses, so old trees keep starting. Verified by removing the stale glm and running the gateway: it resolves to colibri and the engine launches. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull Bot
pushed a commit
to danielabelski/colibri
that referenced
this pull request
Jul 22, 2026
v1.1.0 trips Microsoft Defender on Windows, and the cause was ours: 107 KB of zeros in .data (JustVugg#527/JustVugg#532). This gets the fix out rather than leaving every new Windows download to hit the same alert. Also carries the Anthropic /v1/messages endpoint (JustVugg#343), the gateway engine default fix (JustVugg#526), release checksums (JustVugg#530), and the Get-started docs rewrite (JustVugg#521). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed by @RDouglasSharp in passing while debugging #488, and it reproduces:
python3 openai_server.py --model <dir>looks for a binary namedglmbeside itself, but since #391 the build producescolibri. It only seemed to work for those of us with a staleglmleft over from an older build — on a clean checkout the gateway cannot find its engine.coli servewas unaffected (the launcher resolves the engine itself and passes--engine), which is why CI never caught it.Fix: resolve by probing
colibri/colibri.exefirst, falling back toglm/glm.exe— the same order thecolilauncher uses, so old trees keep starting. Verified by moving the staleglmout of the way: resolves tocolibri, engine launches. Python suite green (149).Thanks @RDouglasSharp — reporting a second bug you weren't even looking for is appreciated.
🤖 Generated with Claude Code