-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Summary
2 slack messaging chnannels/bots for 2 workers/workspaces, both workers will be working on only 1 workspace. The first activated channel/worker will be the default worker for both slack bots.
opencode-router.json:
"slack": {
"enabled": true,
"apps": [
{
"id": "ws_eb8a439f3c9a",
"botToken": "xoxb-560676075300-10687580834067-",
"appToken": "xapp-1-A0ALHFQ94CC-10706871192897-",
"enabled": true,
"directory": "/home/agent0/Projects/playground"
},
{
"id": "ws_5a6b9b8b55e8",
"botToken": "xoxb-560676075300-10598757127043-",
"appToken": "xapp-1-A0AHR2CMQF8-10601723739029-",
"enabled": true,
"directory": "/home/agent0/Projects/member_opencode"
}
]
}
Steps to reproduce
create 2 workers on 2 different workspace/folders
setup 2 slack bots for each workers.
First activated slackbot/worker will focus on workspaceA. 2nd bot will still working on workspaceA, though it should be working on workspaceB.
Expected behavior
slack bots working on its own workspace/folder.
Actual behavior
2nd bot working on first activated workspace.