Skip to content

feat: route dispatch fixes and README sanitization - #303

Open
sdjeny wants to merge 4 commits into
bestruirui:devfrom
sdjeny:dev
Open

feat: route dispatch fixes and README sanitization#303
sdjeny wants to merge 4 commits into
bestruirui:devfrom
sdjeny:dev

Conversation

@sdjeny

@sdjeny sdjeny commented Jul 26, 2026

Copy link
Copy Markdown

Changes

Route Dispatch Fixes

  • Fix dispatch priority sort (ascending, lower number = higher priority)
  • Add channel attempt tracking to dispatch logs
  • Fix dispatch log title to show original request model
  • Remove dispatch_llm filter from API log list
  • Add reasoning_content fallback for reasoning models (sensenova)
  • Handle MaxTokens increase (10 to 512) for reasoning models
  • Add stripThinkingTags for models wrapping output in think tags

README Sanitization

  • Replace real API keys and model names in Route section

sdjen and others added 4 commits July 25, 2026 22:45
- Add Route layer between external API calls and Groups
- Three routing paths: keyword match → dispatch LLM → primary fallback
- Route config: primary group (required), dispatch group (optional), work groups (multiple)
- Implement dispatch LLM with full request/response logging
- Fix group item priority ordering (GORM Preload with Order by priority ASC)
- Fix dispatch LLM response logging (store full JSON response)
- Add comprehensive route UI components (Card, Create, Editor)
- Add route API handlers and database migration

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix dispatch priority sort (ascending, lower number = higher priority)
- Add channel attempt tracking to dispatch logs
- Fix dispatch log title to show original request model
- Remove dispatch_llm filter from API log list
- Add reasoning_content fallback for reasoning models (sensenova)
- Handle MaxTokens increase (10→512) for reasoning models
- Add stripThinkingTags for models wrapping output in <think> tags
- Sanitize README.md and README_zh.md: replace real API keys and model names in Route section

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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