@aggc/or-info 0.1.1 → 0.1.2
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/bin/or-info.mjs +1 -1
- package/lib/lmarena.mjs +1 -1
- package/lib/openrouter.mjs +1 -1
- package/mcp/server.mjs +1 -1
- package/package.json +1 -1
package/bin/or-info.mjs
CHANGED
|
@@ -40,7 +40,7 @@ async function apiKey() {
|
|
|
40
40
|
program
|
|
41
41
|
.name('or-info')
|
|
42
42
|
.description('OpenRouter model info: prices, benchmarks, context and comparisons')
|
|
43
|
-
.version('0.1.
|
|
43
|
+
.version('0.1.2')
|
|
44
44
|
.option('--mcp', 'Start MCP server (stdio transport)');
|
|
45
45
|
|
|
46
46
|
// ── models ─────────────────────────────────────────────────────────────────
|
package/lib/lmarena.mjs
CHANGED
package/lib/openrouter.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { get, set, TTL } from './cache.mjs';
|
|
|
2
2
|
import { MODELS_CACHE } from './paths.mjs';
|
|
3
3
|
|
|
4
4
|
const OR_BASE = 'https://openrouter.ai/api/v1';
|
|
5
|
-
const USER_AGENT = 'or-info-cli/0.1.
|
|
5
|
+
const USER_AGENT = 'or-info-cli/0.1.2 (https://github.com/jmtrs/or-info)';
|
|
6
6
|
const RETRYABLE_STATUSES = new Set([429, 500, 502, 503, 504]);
|
|
7
7
|
const MAX_FETCH_RETRIES = 2;
|
|
8
8
|
|
package/mcp/server.mjs
CHANGED