Fix startup print for new config model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+5
-3
@@ -458,12 +458,14 @@ Config: GET /config | Update: POST /config | Stats: GET /stats (auth required)
|
||||
def main():
|
||||
_load_stats()
|
||||
|
||||
c = COST_CONFIG
|
||||
print(f"Mortdecai Gateway starting")
|
||||
print(f" Ollama: {OLLAMA_URL}")
|
||||
print(f" Listen: 0.0.0.0:{LISTEN_PORT}")
|
||||
print(f" TDP: {GPU_TDP_WATTS}W + {SYSTEM_OVERHEAD_WATTS}W overhead")
|
||||
print(f" Rate: ${ELECTRICITY_RATE}/kWh")
|
||||
print(f" Cap: ${SPENDING_CAP}")
|
||||
print(f" GPU: {c['gpu_idle_watts']}W idle → {c['gpu_load_watts']}W load")
|
||||
print(f" System: {c['system_idle_watts']}W idle → {c['system_inference_watts']}W load")
|
||||
print(f" Rate: ${c['electricity_rate']}/kWh | Mode: {c['billing_mode']}")
|
||||
print(f" Cap: ${c['spending_cap']}")
|
||||
print(f" Dashboard: http://localhost:{LISTEN_PORT}/dashboard")
|
||||
|
||||
# Save stats periodically
|
||||
|
||||
Reference in New Issue
Block a user