Skip to content

Commit 1d8a64a

Browse files
authored
Sync model names and costs via LiteLLM's registry (#227)
Our friends at https://github.com/BerriAI/litellm maintain a great registry of model costs which we can reuse. This script helps us automatically keep things in sync. To facilitate this, I moved the models into their own file. Note that this change _does not_ include the application of any changes from this script. That's in [a separate PR](#228) so we can clearly see what they are.
1 parent a117b31 commit 1d8a64a

File tree

7 files changed

+3553
-2796
lines changed

7 files changed

+3553
-2796
lines changed

packages/proxy/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@
7070
"@types/jsonwebtoken": "^9.0.7",
7171
"@types/node": "^20.10.5",
7272
"@types/uuid": "^9.0.7",
73+
"@types/yargs": "^17.0.33",
7374
"@typescript-eslint/eslint-plugin": "^8.21.0",
7475
"esbuild": "^0.19.10",
7576
"npm-run-all": "^4.1.5",
7677
"tsup": "^8.4.0",
7778
"typescript": "5.5.4",
7879
"vite-tsconfig-paths": "^4.3.2",
79-
"vitest": "^2.1.9"
80+
"vitest": "^2.1.9",
81+
"yargs": "^17.7.2"
8082
},
8183
"dependencies": {
8284
"@anthropic-ai/sdk": "^0.39.0",

0 commit comments

Comments
 (0)