Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TanStack/ai
/ fetch-openrouter-models.ts
File
fetch-openrouter-models.ts
scripts/fetch-openrouter-models.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Fetches models from the OpenRouter API and writes them to openrouter.models.json.
3
*
4
* Usage:
Callers
nothing calls this directly
Calls
2
main
Function · 0.70
error
Method · 0.65
Tested by
no test coverage detected