Skip to content

Gargrahul/add discover all option - #182

Open
leconcio wants to merge 3 commits into
developfrom
gargrahul/add-discover-all-option
Open

Gargrahul/add discover all option#182
leconcio wants to merge 3 commits into
developfrom
gargrahul/add-discover-all-option

Conversation

@leconcio

@leconcio leconcio commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

gargrahul and others added 2 commits August 17, 2026 20:20
Adds a new --all/-a option to the madengine discover command that outputs
full JSON with all discovered models including their complete model cards,
tags, and metadata.

This enables:
- Full JSON output of all models without needing to specify tags
- Programmatic access to all model metadata for CI/CD pipelines
- Consistent JSON format similar to --tags output but for all models
- Inclusion of both static models.json and dynamically generated models

Usage:
  madengine discover --all > discovered_models.json

Changes:
- Added --all parameter to discover command in cli/commands/discover.py
- Updated print_models() in utils/discover_models.py to handle --all flag
- Properly expands custom models (from get_models_json.py) with full paths

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>

@coketaste coketaste left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants