mirror of https://github.com/garrytan/gstack.git
The voyage-code-3 embedding flags were passed to gbrain init through an unquoted $GBRAIN_EMBED_FLAGS that relied on bash word-splitting. Under zsh (the default macOS interactive shell) unquoted expansion is not word-split, so the flags collapsed into a single argv entry, gbrain ignored it, and silently fell back to voyage-4-large. Replace the word-split form in all three init blocks with explicit both-branch gbrain init invocations (with the flags when VOYAGE_API_KEY is set, without otherwise), in both SKILL.md.tmpl and the generated SKILL.md. The regression test now runs the snippet under bash and zsh and asserts the resulting argv. Fixes #1798 |
||
|---|---|---|
| .. | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||
| memory.md | ||