thread-management

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Thread Management Skill

Thread Management Skill

Manage Alma chat threads via the
alma
CLI.
通过
alma
CLI管理Alma聊天线程。

Commands

命令

bash
undefined
bash
undefined

List recent threads (default 20)

列出最近的线程(默认20条)

alma threads [limit]
alma threads [limit]

Show thread details

查看线程详情

alma thread info <thread-id>
alma thread info <thread-id>

Create a new thread

创建新线程

alma thread create <title> [--model providerId:modelName]
alma thread create <title> [--model providerId:modelName]

Delete a thread

删除线程

alma thread delete <thread-id>
alma thread delete <thread-id>

Read thread messages

读取线程消息

alma thread messages <thread-id> [--limit 20]
alma thread messages <thread-id> [--limit 20]

Switch current chat to a different thread

切换当前聊天至其他线程

alma thread switch <thread-id>
alma thread switch <thread-id>

Search across threads (via API)

跨线程搜索(通过API)

Tips

提示

  • Use
    alma threads
    for a quick overview
  • Use
    alma thread switch <id>
    to switch the current Telegram/Discord chat to a different thread (the ALMA_THREAD_ID env is automatically set)
  • When creating threads for the user, give them descriptive titles
  • Always confirm before deleting threads
  • 使用
    alma threads
    快速查看概览
  • 使用
    alma thread switch <id>
    将当前Telegram/Discord聊天切换到其他线程(ALMA_THREAD_ID环境变量会自动设置)
  • 为用户创建线程时,使用描述性的标题
  • 删除线程前请务必确认