altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

Codespaces: GitHub Models rate limiting and phantom /discover-and-add-mcps command

Open anandgupta42 opened this issue 8 months ago • 0 comments

Problem

When installing altimate-code in a fresh GitHub Codespace:

  1. /discover-and-add-mcps command doesn't exist — A toast notification tells users to "Run /discover-and-add-mcps to enable and add them" but this slash command doesn't exist. The actual tool is mcp_discover.

  2. "Too Many Requests" infinite retry loop — In Codespaces, GITHUB_TOKEN is auto-available (machine-scoped for repo ops). The github-models provider auto-enables using this token, but GitHub Models has strict rate limits. This causes immediate 429 errors with exponential retry backoff (seen: attempt #11, 33m 55s wait), making the tool unusable.

  3. No devcontainer configuration — No .devcontainer/ exists, so Codespaces has no standardized setup.

Expected

  • Toast message should reference the actual mechanism to add MCP servers
  • GITHUB_TOKEN in Codespaces should NOT auto-enable github-models/github-copilot providers (the token lacks model inference permissions)
  • Retry loop should have a max attempt cap
  • Devcontainer config should exist for reproducible Codespaces environments

Reported by

Brian Waligorski (Slack, 2026-03-23)

anandgupta42 avatar Mar 23 '26 21:03 anandgupta42