Skip to content

Translated to ENG#1

Open
indicatorspro wants to merge 10 commits into
danscMax:mainfrom
indicatorspro:main
Open

Translated to ENG#1
indicatorspro wants to merge 10 commits into
danscMax:mainfrom
indicatorspro:main

Conversation

@indicatorspro

Copy link
Copy Markdown

Translated to ENG

AkioKoneko and others added 10 commits June 11, 2026 12:31
fix(server): honor Retry-After on 429 + abort cross-account auto-continuation
docs: add .env.example documenting configuration
…gment-parser

fix: parse DeepSeek search fragments without 502
Detect when the latest user message is exactly "/new" (trimmed)
and short-circuit the request to reset that agent's session
instead of forwarding it to DeepSeek.

- Reuses the existing createSession()/sessions map used by the
  /reset-session endpoint, so behavior stays consistent
- Returns a confirmation reply via buildTextResponse(), respecting
  the active API mode (OpenAI, Anthropic, Responses) and
  streaming vs non-streaming
- No DeepSeek API call is made for the /new turn itself
- Per-agent: only resets the session for the requesting agentId,
  not all sessions

Mounted via docker-compose volume override so the patch survives
container rebuilds without modifying the Dockerfile.
feat: add /new command to reset agent chat session
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.

4 participants