Skip to content

v1.0.10

Choose a tag to compare

@gutchapa gutchapa released this 30 Aug 14:44
· 64 commits to main since this release

What's fixed

  • Misleading fallback text: the 'agent timed out' note was baked into the general inability reply and showed up even when no agent had run (short-chat messages go direct to the local model). It now appears only in the task fallback, i.e. only when the opencode agent genuinely ran and hit the timeout.
  • Hardened direct-Qwen call: history is sanitized before sending (valid roles + non-empty content, prompt capped below the context window) to prevent the intermittent HTTP 400; HTTP error bodies are now logged so any future failure is instantly diagnosable; transient errors (429/5xx) retry once.
  • Agent timeout raised from 180s to 300s (still env-overridable via OPENCODE_TIMEOUT_MS) so real tasks on the local 9B model have room to finish.

Tested

  • Direct-Qwen fast path (hello / time question / demo message) — verified no misleading 'timed out' text
  • Agentic fallback chain (task → agent timeout → task fallback)
  • Slash commands (/help)
  • Bot restarted via launchd, single process, polling healthy