Skip to content

continuedev/openrouter-continue-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenRouter Continue Hub

Auto-generates YAML blocks for OpenRouter models.

Update Models

Edit CURATED_MODELS in openrouter_models.py:

CURATED_MODELS = {
    "openai/gpt-4o": "gpt-4o",
    "anthropic/claude-3.5-sonnet": "claude-3.5-sonnet", 
    # Add more models...
}

Display names are auto-extracted from the API (text after : if present).

Run

python3 -m venv env

python3 -m pip install -r requirements.txt

# Generate all curated models
python3 openrouter_models.py --summary

# With API key (optional)
OPENROUTER_API_KEY=your_key python3 openrouter_models.py --summary

Publish

Generated YAML files in blocks/public/ are automatically published to hub.continue.dev.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages