Repository navigation
Labels
Description
Summary
docs/shortcuts-guide.md contains examples and troubleshooting advice that contradict internal/presentation/shortcuts/. Its multi-word shortcut names can never be invoked, the file-naming rule is wrong, it lists /agents subcommands that do not exist, and it describes /install-opentask, image-model filtering and the /init prompt location as they used to work.
Acceptance Criteria
-
docs/shortcuts-guide.md"Advanced Usage": thename: "mod tidy",name: "docker build"andname: "docker run"examples can never match.Registry.ParseShortcut(internal/presentation/shortcuts/registry.go) uses the first whitespace-separated token as the shortcut name, so/docker buildlooks up a shortcut calleddocker. Rewrite them withsubcommands:, as thecustom-docker.yamlexample inREADME.mdalready does. -
docs/shortcuts-guide.md"Configuration File Format" and "Troubleshooting - Check file naming": files do not have to be namedcustom-*.yaml.LoadCustomShortcuts(internal/presentation/shortcuts/custom.go) loads every*.yamlfile in theshortcuts/directory, which is how the init-seededgit.yaml,scm.yamland the rest load. The real pitfall is that.ymlfiles are not picked up. -
docs/shortcuts-guide.md"Init-Created Shortcuts" table:/agentssupportslist|add|removeonly. The seededa2a.yaml(createA2AShortcutsFileincmd/init/init.go) defines just those three subcommands, andinfer agentshas noenableordisablesubcommand (cmd/agents/agents.go). -
docs/shortcuts-guide.md"Project setup" entry for/install-opentask: it no longer runs an interactive wizard, pre-scans for.pemfiles or generates.github/workflows/infer.yml. The shortcut (internal/presentation/shortcuts/install_opentask.go) takes[owner/repo] [extra context...]and sends an install task to the chat agent, which creates or updates.github/workflows/tasks.ymlon an install branch and opens a pull request (InstallChatPromptininternal/github/setup/install_prompt.go), asREADME.mdalready describes. -
docs/shortcuts-guide.md"Image Generation": image models are no longer recognised by name "since/v1/modelscarries no modality metadata". The model list keeps only models whose gateway-reported modalities are chat-capable and drops models that report none (ListModelsininternal/conversation/model.go, usingIsChatCapableModalitiesfrominternal/platform/models/context.go), asdocs/configuration-reference.md(gateway.exclude_models) already describes. -
docs/shortcuts-guide.md"Project Initialization Shortcut": the/initprompt is configured inprompts.yamlunderinit.prompt(PromptsInitConfiginconfig/prompts.go, envINFER_PROMPTS_INIT_PROMPT), not in the config file.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 25, 2026
@infer Can you work on this?
inference-gateway-maintainer commentedon Sep 25, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
✅ Infer Result: Success
All work is complete and verified. The PR is open and ready for review.
Summary
Fixed issue #1317 by correcting
docs/shortcuts-guide.md(plus one supporting README fix) so every claim matches the current code. All six outdated sections were re-verified against the source before editing, and the rewritten YAML examples were validated empirically by tracing them through the actual shortcut-resolution code.PR: #1327 (ready for review, branch
fix/issue-1317, commite93a278)Changes
name: "mod tidy",name: "docker build",name: "docker run"examples could never match (ParseShortcuttakes the first whitespace token as the name). Rewritten withsubcommands:, plus a paragraph documenting the naming rule and arg composition. Verified by running the resolution code:/mod tidy->go mod tidy,/docker build->docker build -t myapp .,/docker run->docker run -p 8080:8080 myapp.custom-docker.yamlexample cited by the issue actually resolved todocker build build ...(subcommand names are auto-appended to args, so the duplicatedbuild/runentries were broken). Dropped the duplicates so README and guide agree and both examples run.custom-*.yamlrequirement removed -LoadCustomShortcutsloads every*.yamlinshortcuts/(that's how the seededgit.yaml/scm.yamlload); the real pitfall,.ymlfiles not being picked up, is now documented in both the format section and troubleshooting./agentstrimmed to its seededlist|add|removesubcommands (cmd/init/init.go,cmd/agents/agents.go)./install-opentask: now described as it works - takes[owner/repo] [extra context...], sends an install task to the chat agent, which lands.github/workflows/tasks.ymlon an install branch and opens/updates a PR (install_opentask.go,install_prompt.go).ListModelsviaIsChatCapableModalities; non-chat models appear as view-only rows but are not selectable)./initprompt located inprompts.yamlunderinit.prompt(envINFER_PROMPTS_INIT_PROMPT).Pre-commit gate passed (mod tidy, go fmt, imports, golangci-lint, markdownlint). Roadmap board item moved to QA.
Follow-up: while verifying the subcommand name-append behavior, I found the seeded
scm.yamlresolves to invalidghcommands (/scm issues->gh issues issue list ...). Out of scope for this docs issue, tracked in #1328.Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 9m 36sTokens: 4,453,104 in · 36,779 out · 4,489,883 total (46 requests)
Tool calls: 68 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.208.2 🎉
The release is available on:
Your semantic-release bot 📦🚀