Skip to content

docs(examples): align media-video, mcp, shortcuts and a2a examples with their scenarios and the CLI - #1893

Merged
edenreich merged 4 commits into
mainfrom
fix/issue-1888
Nov 17, 2026
Merged

edenreich merged 4 commits into
mainfrom
fix/issue-1888

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #1888

Summary

The examples audit flagged four example directories stating something their own scenario, compose file or the CLI does not do. This PR makes the media-video scenario produce exactly what its README promises, repoints the mcp example's volume at a directory the CLI actually writes, and fixes the two false claims plus the stale pointer in the shortcuts and a2a READMEs. All changes verified against the code (resolveMediaOutputPath in internal/tools/text_to_speech.go, the sfx-/dub- defaults in internal/tools/video_to_sfx.go and internal/tools/dub_video.go, cmd/init/init.go and cmd/shortcuts/shortcuts.go).

Changes

  • examples/media-video/scenarios.yaml: added explicit output_path to the VideoToSFX call (clip.wav) and the DubVideo call (dub-clip.mp4), so task produce saves the named files the README's "What to expect" block already claimed instead of the timestamped sfx-<timestamp>-<n>.wav / dub-<timestamp>-<n>.mp4 defaults (chose the scenario fix over rewording the README)
  • examples/mcp/docker-compose.yml: the infer-data volume now mounts at /home/infer/.infer/projects, where the CLI writes conversation data, instead of the never-used /home/infer/.infer/data
  • examples/shortcuts/README.md: Cleanup runs docker compose down and states the example persists no conversation data (the compose defines no volumes and the only mount is the read-only shortcuts bind), and Next Steps now points at infer shortcuts list and ~/.infer/shortcuts/ where infer init writes the built-in YAML shortcuts, no longer at the nonexistent repository .infer/shortcuts/ directory
  • examples/a2a/README.md: the browser VNC requirement now describes the TCP X11 setup the compose file actually uses (BROWSER_XVFB_ALLOW_TCP: "true" on browser-agent, browser-vnc connecting with X_HOST: browser-agent and X_DISPLAY: 99) instead of a shared X11 socket volume

Verification

  • markdownlint passes on the touched READMEs and every commit ran the repo pre-commit gate (go mod tidy, go fmt, golangci-lint, markdownlint) with 0 issues
  • no docs ticket: internal-only refactor - this PR is itself the documentation correction in the shipped examples

@github-project-automation github-project-automation Bot moved this to Todo in 2026 Nov 17, 2026
@inference-gateway-maintainer
inference-gateway-maintainer Bot marked this pull request as ready for review November 17, 2026 07:44
@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner November 17, 2026 07:44
@edenreich
edenreich merged commit 2dc362b into main Nov 17, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-1888 branch November 17, 2026 14:12
@edenreich edenreich moved this from Todo to Done in 2026 Nov 17, 2026
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.263.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[DOCS] media-video, mcp, shortcuts and a2a examples disagree with their own files and the CLI

1 participant