Phuriwaj

Freewrite

A mixed day of tooling and health research. Most of the technical work continued the LiteLLM/local-LLM thread — this time expanding to include MiniMax as a cloud model alongside Ollama. The CC-Remote Control effort moved forward with a full Discord bot implementation using --resume for persistent Claude Code sessions. Also did a light exploration of GitHub Projects V2 board automation to complement an existing label-based workflow.

Big Things Today

  • Discord bot for remote Claude Code control is now fully architected — needs deployment and testing
  • LiteLLM config updated to include MiniMax alongside local LLM — verify MiniMax API key works end-to-end

Conversations

AI Tooling

Configuring local LLM and Minimax on LiteLLM

Asked how to add both a local Ollama model and the MiniMax cloud API to LiteLLM config.yaml. Claude provided working config snippets for both. The Ollama route uses ollama/<model> prefix with api_base: http://localhost:11434; MiniMax uses minimax/<model> prefix with key from env. Question left open: which local runtime (Ollama vs LM Studio) is in use. → See reference/litellm-minimax-config

Minimax (quota monitor troubleshooting)

Short conversation debugging a rm -f /tmp/minimax-quota-monitor.state command that was failing. Claude asked for the error message and where the command was being run. Conversation inconclusive — likely a permissions or path issue.

CC-Remote Control

Full Discord bot implementation architected that wraps claude -p with --resume <session_id> to maintain persistent Claude Code sessions per Discord channel. Each channel maps to one session ID, stored in a Python dict. Includes !reset and !session commands. Bot streams output and splits messages over 2000 chars. Designed to run under tmux for persistence. → See efforts/on/cc-remote-control | reference/claude-code-discord-hook

DevOps / Automation

Auto - GitHub Action

Explored GitHub Projects V2 board automation as a visual layer on top of an existing label-based workflow (status:dev, status:qa). Recommended Option A: keep label triggers, add a Project board that mirrors them via built-in column automation. No code changes needed — just configure column workflows in the board settings. → See reference/github-projects-v2-automation

Health

ประโยชน์และข้อควรระวังของเวย์โปรตีน (Whey Protein Q&A)

Quick Thai-language Q&A on whey protein: benefits (convenient protein source, high BCAA, muscle repair), cautions (unnecessary if diet is already sufficient, lactose intolerance risk with concentrate, calorie accumulation). Recommendation: useful for regular exercisers with insufficient dietary protein; whole food is fine otherwise. No follow-up tasks.

Open Tasks Surfaced

  • Deploy Discord bot (CC-Remote Control) and test --resume session persistence
  • Verify MiniMax API key and test minimax/MiniMax-Text-01 via LiteLLM proxy
  • Resolve Minimax quota monitor state file permission issue (rm -f failing)
  • Set up GitHub Projects V2 board with column automation (Option A workflow)

Insights Worth Developing