-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug
First of all, thanks for building this awesome project!
When the discord bot fails to acknowledge or respond to a slash command within the mandatory 3-second timeframe, this error occurs.
Error executing command opencode: DiscordAPIError[10062]: Unknown interaction
xxxxxx
Steps to Reproduce
- Run '...'
- Send command '...'
- See error
Expected Behavior
Allow the bot to take a long time to respond, I did some research, seems that we can use interaction.deferReply()
While my network is slow due to the use of proxy, I think this error can also happen if the context length is long and it may take a long time for the underlying LLM to output the first token
Actual Behavior
What actually happened.
Environment
- OS: [e.g., macOS 14.0, Windows 11, Ubuntu 22.04]
- Node.js version: [e.g., 22.0.0]
- remote-opencode version: [e.g., 1.1.0]
- OpenCode version: [e.g., 0.1.0]
Logs / Screenshots
If applicable, add logs or screenshots to help explain your problem.
Paste any relevant error messages here
Additional Context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working