Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions examples/socket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ You should see per-geo `ready` logs as each connection comes up, then `you said

- **No HTTP surface** — tabs, remote functions, OAuth callbacks, and other
browser routes are unavailable in Socket Mode.
- **Canary endpoint** — the sample currently overrides `negotiate_base_url`
because Socket Mode negotiate is available on the canary ring while the
production default returns 503. Remove the override when production is
enabled.
- **Canary and Pilot1 endpoints** — Socket Mode is currently available only on
the Canary (`https://canary.botapi.skype.com`) and Pilot1
(`https://pilot1.botapi.skype.com`) rings; the production default returns
503. The sample sets `negotiate_base_url` to the canary ring, but Pilot1 works
too. Remove the override when production is enabled.
- **Classic bot identity only** — Socket Mode connects with the bot's MSA App Id.
Agentic identities are not supported today.
2 changes: 2 additions & 0 deletions examples/socket/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

app = App(
socket_mode=SocketModeOptions(
# Socket Mode is only available on the Canary and Pilot1 rings for now.
# Pilot1 (https://pilot1.botapi.skype.com) is supported as well.
negotiate_base_url="https://canary.botapi.skype.com",
)
)
Expand Down
Loading