mirror of
https://github.com/Routstr/routstrd.git
synced 2026-10-05 20:38:22 +00:00
getModelProviders was manually iterating getAllCachedModels() and sorting
by max_cost (a per-request ceiling), which didn't match the SDK's actual
routing order (prompt+completion per million tokens). Switch to
providerManager.getProviderPriceRankingForModel({ includeDisabled: true })
so the display order matches real routing. Cross-reference the store's
disabledProviders list to set a per-provider 'disabled' flag, and print
'[Disabled]' next to the URL in the CLI.
40 lines
329 B
Plaintext
40 lines
329 B
Plaintext
node_modules/
|
|
|
|
dist/
|
|
build/
|
|
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
*.log
|
|
npm-debug.log*
|
|
bun-debug.log*
|
|
|
|
# Date-based log files in logs folder
|
|
logs/
|
|
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
tmp/
|
|
temp/
|
|
.pi/
|
|
|
|
.worktrees/
|
|
.routstrd/
|
|
|
|
# Graphify output
|
|
graphify-out/
|
|
|
|
# Standalone prototype scripts
|
|
index.ts
|