[claude] Extract hardcoded sats limit in consult_grok() (#937) #1058
Reference in New Issue
Block a user
Delete Branch "claude/issue-937"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #937
Changes
src/dashboard/routes/grok.py: Replaced hardcoded100withsettings.grok_sats_hard_capin the Lightning invoice creation for Grok chat routesrc/timmy_serve/cli.py: Changed--priceCLI default from hardcoded100tosettings.grok_sats_hard_cap, so the L402 proxy price is controlled via config/env varsBoth values now read from the existing
GROK_SATS_HARD_CAPconfig setting (default: 100 sats).Test plan