Skip to content

Subagent interrupted due to missing payment method - unclear error message #14866

@zhangxaochen

Description

@zhangxaochen

Description

Subagents (e.g., Sisyphus-Junior) are being interrupted when workspace lacks a payment method, but the error message is confusing and appears to be a system error rather than a user-friendly message.

Error Details

Expected Behavior

When a workspace doesn't have a payment method configured:

  1. The error should be more user-friendly and explain that this is a billing configuration issue
  2. Users should be guided to add payment method before starting resource-intensive operations
  3. Perhaps show a warning BEFORE the subagent starts executing, not after interruption

Actual Behavior

  • Subagent starts executing (appears to use resources)
  • Gets interrupted mid-operation with a billing error
  • Error message looks like a system/debug error rather than a user-facing message
  • No clear way to prevent this from happening proactively

Suggested Improvements

  1. Pre-flight check: Validate payment method availability before starting subagent tasks
  2. Better error messaging: Make it clear this is a billing issue, not a system error
  3. Warning system: Notify users when payment method is missing when they try to start subagent tasks
  4. Retry mechanism: Once payment is added, allow easy retry without re-entering the entire prompt

Environment

  • Platform: opencode.ai
  • Worker: Sisyphus-Junior
  • Model: glm-5

Error截图已附上

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions