Skip to content

feat(pi-agent): treat /new as a new-conversation command - #107

Open
gleikeen wants to merge 1 commit into
corespeed-io:mainfrom
gleikeen:feat/wechat-new-command
Open

feat(pi-agent): treat /new as a new-conversation command#107
gleikeen wants to merge 1 commit into
corespeed-io:mainfrom
gleikeen:feat/wechat-new-command

Conversation

@gleikeen

Copy link
Copy Markdown

Intercept WeChat slash commands before forwarding to the LLM:

  • /new (alias /clear, /reset): start a fresh conversation via ctx.newSession() and auto-reconnect the WeChat bridge after the session replacement
  • /help: reply with the command list
  • /status: reply with account/user info

Previously any message like /new was sent to the agent as a plain prompt.

Intercept WeChat slash commands before forwarding to the LLM:
- /new (alias /clear, /reset): start a fresh conversation via ctx.newSession()
  and auto-reconnect the WeChat bridge after the session replacement
- /help: reply with the command list
- /status: reply with account/user info

Previously any message like /new was sent to the agent as a plain prompt.
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