Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion slack-bridge/broker-bridge.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ async function handleUserMessage(userMessage, event) {
const currentSocket = socketPath;
if (!currentSocket) {
logError("🔌 no pi socket found — agent may not be running");
await say(event.channel, " Agent is starting uptry again in a moment.", event.ts);
await say(event.channel, "🔌 Agent is not connectedit may be restarting or the session expired. Run `sudo baudbot restart` to bring it back.", event.ts);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The legacy bridge in bridge.mjs:268 still has the old "Agent is starting up" message. Consider updating it to match this improved message for consistency.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Prompt To Fix With AI
This is a comment left during a code review.
Path: slack-bridge/broker-bridge.mjs
Line: 702

Comment:
The legacy bridge in `bridge.mjs:268` still has the old "Agent is starting up" message. Consider updating it to match this improved message for consistency.

<sub>Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!</sub>

How can I resolve this? If you propose a fix, please make it concise.

return true;
}
logInfo(`🔌 forwarding to agent via ${currentSocket}`);
Expand Down