mix jido.ai.models (Jido AI v0.5.2)

View Source

Fetches and caches models from AI providers.

This task provides a comprehensive interface for managing AI model information across different providers. It allows you to list, fetch, and view detailed information about models from various AI providers.

Features

  • List available providers
  • List all cached models across providers
  • List models from specific providers
  • Fetch and cache models from providers
  • View detailed model information
  • Compare models across providers
  • Standardize model names across providers

Examples

# List all available providers mix jido.ai.models --list-providers

# List all cached models (across all providers) mix jido.ai.models --list-all-models

# List all cached models with verbose output mix jido.ai.models --list-all-models --verbose

# List models from a specific provider mix jido.ai.models anthropic --list

# List models from a specific provider with verbose output mix jido.ai.models anthropic --list --verbose

# Fetch and cache all models from a provider mix jido.ai.models anthropic --fetch

# Fetch and cache a specific model mix jido.ai.models anthropic --fetch --model=claude-3-7-sonnet-20250219

# Fetch and cache all models from all providers mix jido.ai.models all --fetch

# Show detailed information for a model (combined across providers) mix jido.ai.models --show=claude-3-7-sonnet

# Show detailed information with raw data mix jido.ai.models --show=claude-3-7-sonnet --verbose

# Refresh cached model information mix jido.ai.models anthropic --fetch --refresh

Model Information Display

When showing model information, the task displays:

  • Model name and description
  • Available providers
  • Capabilities (chat, embedding, image, vision, etc.)
  • Pricing information by provider
  • Model tier and description
  • Raw model data (with --verbose)

Standardized Model Names

The task automatically standardizes model names across providers:

  • claude-3-7-sonnet
  • claude-3-5-sonnet
  • claude-3-opus
  • gpt-4
  • gpt-3.5
  • mistral-7b
  • mistral-8x7b
  • llama-2-70b
  • llama-2-13b
  • llama-2-7b

Cache Location

Models are cached in the following location: _build/dev/lib/jido_ai/priv/provider/<provider_id>/models.json

Options

  • --verbose: Show detailed information
  • --refresh: Force refresh of cached data
  • --model: Specify a model ID
  • --list: List models
  • --fetch: Fetch and cache models
  • --show: Show detailed model information
  • --list-providers: List available providers
  • --list-all-models: List all cached models