@aeye/models 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/scripts/scrapers/openrouter.ts +3 -0
- package/src/models/openrouter.ts +5964 -6002
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeye/models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Static model information scraped from OpenAI, OpenRouter, Replicate, and AWS Bedrock",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"directory": "packages/models"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@aeye/ai": "0.3.
|
|
41
|
-
"@aeye/aws": "0.3.
|
|
42
|
-
"@aeye/openrouter": "0.3.
|
|
43
|
-
"@aeye/replicate": "0.3.
|
|
40
|
+
"@aeye/ai": "0.3.5",
|
|
41
|
+
"@aeye/aws": "0.3.5",
|
|
42
|
+
"@aeye/openrouter": "0.3.5",
|
|
43
|
+
"@aeye/replicate": "0.3.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@aws-sdk/client-bedrock": "^3.709.0",
|
|
@@ -176,6 +176,9 @@ export async function scrapeOpenRouter(
|
|
|
176
176
|
convertOpenRouterModel(model, zdrModelIds, metricsMap.get(model.id))
|
|
177
177
|
);
|
|
178
178
|
|
|
179
|
+
// Sort them
|
|
180
|
+
modelInfos.sort((a, b) => a.id.localeCompare(b.id));
|
|
181
|
+
|
|
179
182
|
// Save JSON for reference
|
|
180
183
|
await fs.writeFile(
|
|
181
184
|
path.join(outputDir, 'openrouter-modelinfo.json'),
|