You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] examples/subagents shows agents list output from before the built-in agents shipped #1933
The examples/subagents README shows infer agents list output with only the example's own researcher agent (Markdown Agents (1)). Since built-in agents shipped, the loader always appends the four embedded agents (main, explore, plan, general-purpose) after the project and user agent dirs (loadMarkdownAgentsWithBuiltins in internal/tools/builtin_agents.go, used by Registry.LoadMarkdownAgents in internal/tools/registry.go). printMarkdownAgents in cmd/agents/agents.go prints the count of every loaded agent, so task list now prints Markdown Agents (5) and four more rows - with source built-in before infer init, or user once infer init has seeded them into ~/.infer/agents/. A reader following the example sees output that does not match the README.
Acceptance Criteria
examples/subagents/README.md "What to expect" block for task list shows the current output: Markdown Agents (5) with researcher (source project) plus the built-in main, explore, plan and general-purpose rows, and notes that their source reads built-in before infer init and user after it
examples/subagents/README.md run table row for task list and the Taskfile.ymllist task description mention that the built-in agents are listed next to researcher
docs/examples.md subagents row still matches what the example demonstrates after the update
The updated output is verified by running task list in examples/subagents against the tokenless mock gateway
Done. Issue #1933 is resolved in PR #1936 (ready for review), tracked on the Roadmap board and set to QA.
What I changed
examples/subagents/README.md - the "What to expect" block for task list now shows the current output, Markdown Agents (5): researcher (source project) followed by the built-in explore, general-purpose, main and plan rows in the order the loader emits them, each with its real tools, model, mode and source columns. A note after the block explains that the four built-ins ship with the binary with source built-in, and read user once infer init seeds them into ~/.infer/agents/ (a same-name Markdown file shadows a built-in either way). The run table row for task list now says it lists researcher next to the four built-in agents.
examples/subagents/Taskfile.yml - the list task description now says it shows researcher and the four built-in agents.
docs/examples.md - the subagents row still matches what the example demonstrates, so I left it unchanged (noted in the PR body).
Verification
I ran the example's own task list with a fresh local build (task build) against a hermetic HOME with the Taskfile's mock-gateway env, and copied the captured Markdown Agents (5) output into the README, preserving the existing abbreviated-description style.
markdownlint passes on the changed files, and the pre-commit hook (mod:tidy, fmt, lint:imports, golangci-lint, markdownlint) passed on the commit before pushing.
One deviation worth knowing: I ran the verification under a redirected HOME rather than the runner's own, which is exactly the pre-infer init state the README now describes.
Activity
edenreich commentedon Nov 22, 2026
@infer can you work on this?
inference-gateway-maintainer commentedon Nov 22, 2026
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.12· CLI:v0.266.0· View JobTodos
Pull Request
#1936
✅ Infer Result: Success
Done. Issue #1933 is resolved in PR #1936 (ready for review), tracked on the Roadmap board and set to QA.
What I changed
examples/subagents/README.md- the "What to expect" block fortask listnow shows the current output,Markdown Agents (5):researcher(sourceproject) followed by the built-inexplore,general-purpose,mainandplanrows in the order the loader emits them, each with its real tools, model, mode and source columns. A note after the block explains that the four built-ins ship with the binary with sourcebuilt-in, and readuseronceinfer initseeds them into~/.infer/agents/(a same-name Markdown file shadows a built-in either way). The run table row fortask listnow says it listsresearchernext to the four built-in agents.examples/subagents/Taskfile.yml- thelisttask description now says it showsresearcherand the four built-in agents.docs/examples.md- the subagents row still matches what the example demonstrates, so I left it unchanged (noted in the PR body).Verification
task listwith a fresh local build (task build) against a hermetic HOME with the Taskfile's mock-gateway env, and copied the capturedMarkdown Agents (5)output into the README, preserving the existing abbreviated-description style.markdownlintpasses on the changed files, and the pre-commit hook (mod:tidy, fmt, lint:imports, golangci-lint, markdownlint) passed on the commit before pushing.One deviation worth knowing: I ran the verification under a redirected HOME rather than the runner's own, which is exactly the pre-
infer initstate the README now describes.Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.12· CLI:v0.266.0· Exit Code:0· Duration: 4m 12sTokens: 1,575,719 in · 17,944 out · 1,593,663 total (26 requests)
Tool calls: 44 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Nov 22, 2026
🎉 This issue has been resolved in version 0.266.2 🎉
The release is available on:
Your semantic-release bot 📦🚀