Skip to content

Add specialized media model routing demo - #418

Draft
nachiketb-nvidia wants to merge 1 commit into
mainfrom
agent/model-as-tool-algorithm
Draft

Add specialized media model routing demo#418
nachiketb-nvidia wants to merge 1 commit into
mainfrom
agent/model-as-tool-algorithm

Conversation

@nachiketb-nvidia

Copy link
Copy Markdown
Contributor

What changed

  • add a ModelAsTool implementation of libsy's Algorithm trait
  • inject generate_media(prompt) into the primary model request
  • route selected calls to an image-only local Cosmos client
  • expose the algorithm through server TOML and the libsy Python API
  • add an A/B config: switchyard/frontier is plain Opus 4.8; switchyard/media is Opus 4.8 plus Cosmos

Validation

  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • pre-commit hooks passed
  • live Pi passthrough returned FRONTIER_PASSTHROUGH_OK
  • live Pi media route generated a valid 1024x1024 RGB PNG

@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://NVIDIA-NeMo.github.io/Switchyard/pr-preview/pr-418/

Built to branch gh-pages at 2026-08-14 05:33 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant