Skip to content

Fix #7 Add label support to /switch in session examples#8

Open
stellafull wants to merge 2 commits intoshareAI-lab:mainfrom
stellafull:fix-switch-label-match
Open

Fix #7 Add label support to /switch in session examples#8
stellafull wants to merge 2 commits intoshareAI-lab:mainfrom
stellafull:fix-switch-label-match

Conversation

@stellafull
Copy link
Copy Markdown

This PR adds label support to /switch in the session examples.

Users can now switch sessions by either session id or label in:

  • sessions/zh/s03_sessions.py
  • sessions/en/s03_sessions.py
  • sessions/ja/s03_sessions.py

The matching rule is intentionally kept simple:

  1. exact match on session id or label
  2. prefix match on session id or label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant