-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Open
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
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
- Error Message: "No payment method. Add a payment method here: https://opencode.ai/workspace/wrk_XXX/billing"
- Worker: Sisyphus-Junior (glm-5 model)
- Status: interrupted
Expected Behavior
When a workspace doesn't have a payment method configured:
- The error should be more user-friendly and explain that this is a billing configuration issue
- Users should be guided to add payment method before starting resource-intensive operations
- 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
- Pre-flight check: Validate payment method availability before starting subagent tasks
- Better error messaging: Make it clear this is a billing issue, not a system error
- Warning system: Notify users when payment method is missing when they try to start subagent tasks
- 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截图已附上
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)