hypercli-cli 0.8.4__tar.gz → 0.8.5__tar.gz
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.
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/PKG-INFO +1 -1
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/claw.py +17 -5
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/pyproject.toml +1 -1
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/.gitignore +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/README.md +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/__init__.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/billing.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/cli.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/comfyui.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/flow.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/instances.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/jobs.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/keys.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/llm.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/onboard.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/output.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/renders.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/tui/__init__.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/tui/job_monitor.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/user.py +0 -0
- {hypercli_cli-0.8.4 → hypercli_cli-0.8.5}/hypercli_cli/wallet.py +0 -0
|
@@ -318,13 +318,18 @@ def fetch_models(api_key: str, api_base: str = PROD_API_BASE) -> list[dict]:
|
|
|
318
318
|
)
|
|
319
319
|
resp.raise_for_status()
|
|
320
320
|
data = resp.json().get("data", [])
|
|
321
|
+
# Known model metadata (context windows, reasoning, etc.)
|
|
322
|
+
MODEL_META = {
|
|
323
|
+
"kimi-k2.5": {"name": "Kimi K2.5", "reasoning": False, "contextWindow": 262144},
|
|
324
|
+
"glm-5": {"name": "GLM-5", "reasoning": True, "contextWindow": 202752},
|
|
325
|
+
}
|
|
321
326
|
return [
|
|
322
327
|
{
|
|
323
328
|
"id": m["id"],
|
|
324
|
-
"name": m["id"].replace("-", " ").title(),
|
|
325
|
-
"reasoning": False,
|
|
329
|
+
"name": MODEL_META.get(m["id"], {}).get("name", m["id"].replace("-", " ").title()),
|
|
330
|
+
"reasoning": MODEL_META.get(m["id"], {}).get("reasoning", False),
|
|
326
331
|
"input": ["text"],
|
|
327
|
-
"contextWindow": 200000,
|
|
332
|
+
"contextWindow": MODEL_META.get(m["id"], {}).get("contextWindow", 200000),
|
|
328
333
|
}
|
|
329
334
|
for m in data
|
|
330
335
|
if m.get("id")
|
|
@@ -338,7 +343,14 @@ def fetch_models(api_key: str, api_base: str = PROD_API_BASE) -> list[dict]:
|
|
|
338
343
|
"name": "Kimi K2.5",
|
|
339
344
|
"reasoning": False,
|
|
340
345
|
"input": ["text"],
|
|
341
|
-
"contextWindow":
|
|
346
|
+
"contextWindow": 262144,
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "glm-5",
|
|
350
|
+
"name": "GLM-5",
|
|
351
|
+
"reasoning": True,
|
|
352
|
+
"input": ["text"],
|
|
353
|
+
"contextWindow": 202752,
|
|
342
354
|
},
|
|
343
355
|
]
|
|
344
356
|
|
|
@@ -442,7 +454,7 @@ def _config_openclaw(api_key: str, models: list[dict]) -> dict:
|
|
|
442
454
|
"agents": {
|
|
443
455
|
"defaults": {
|
|
444
456
|
"models": {
|
|
445
|
-
f"hyperclaw/{
|
|
457
|
+
**{f"hyperclaw/{m['id']}": {"alias": m['id'].split('-')[0]} for m in models}
|
|
446
458
|
}
|
|
447
459
|
}
|
|
448
460
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|