[claude] Extract hardcoded sats limit in consult_grok() (#937) #1058

Merged
Rockachopa merged 3 commits from claude/issue-937 into main 2026-03-23 15:07:41 +00:00

3 Commits

Author SHA1 Message Date
rockachopa
2ff51fb7ad Merge branch 'main' into claude/issue-937
Some checks failed
Tests / lint (pull_request) Failing after 11s
Tests / test (pull_request) Has been skipped
2026-03-23 15:07:35 +00:00
rockachopa
dc0e6d2de7 Merge branch 'main' into claude/issue-937
Some checks failed
Tests / lint (pull_request) Failing after 15s
Tests / test (pull_request) Has been skipped
2026-03-23 14:41:33 +00:00
Alexander Whitestone
91af33d71c refactor: extract hardcoded sats limit in grok L402 proxy
Some checks failed
Tests / lint (pull_request) Failing after 12s
Tests / test (pull_request) Has been skipped
Replace hardcoded sats values with config.settings references:
- grok.py: use settings.grok_sats_hard_cap instead of literal 100
- cli.py: default --price to settings.grok_sats_hard_cap from config

Fixes #937

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 21:40:11 -04:00