20 lines
931 B
JSON
20 lines
931 B
JSON
|
|
{
|
||
|
|
"key": "litellm-ups-usage-live",
|
||
|
|
"title": "LiteLLM + UPS Usage",
|
||
|
|
"notes": "Exec-backed live usage card for LiteLLM token activity and UPS energy usage. Fill template_state with subtitle, tool_name_24h/tool_arguments_24h, and optional tool_name_month/tool_arguments_month plus refresh_ms. If the month tool call is omitted, the card renders only the 24-hour section. The card title comes from the feed header, not the template body.",
|
||
|
|
"example_state": {
|
||
|
|
"subtitle": "GLM local usage",
|
||
|
|
"tool_name_24h": "exec",
|
||
|
|
"tool_arguments_24h": {
|
||
|
|
"command": "python3 $HOME/.nanobot/workspace/litellm_ups_price_per_token.py --24h"
|
||
|
|
},
|
||
|
|
"tool_name_month": "exec",
|
||
|
|
"tool_arguments_month": {
|
||
|
|
"command": "python3 $HOME/.nanobot/workspace/litellm_ups_price_per_token.py --month"
|
||
|
|
},
|
||
|
|
"refresh_ms": 900000
|
||
|
|
},
|
||
|
|
"created_at": "2026-03-11T23:05:00+00:00",
|
||
|
|
"updated_at": "2026-03-11T23:19:00+00:00"
|
||
|
|
}
|