Skip to content

fix(model-routing,logging): normalize display-name models and classify canceled requests - #154

Open
Circumsized wants to merge 3 commits into
caigee-cmd:mainfrom
Circumsized:fix/workbuddy-deepseek-v4.1-flash-alias
Open

fix(model-routing,logging): normalize display-name models and classify canceled requests#154
Circumsized wants to merge 3 commits into
caigee-cmd:mainfrom
Circumsized:fix/workbuddy-deepseek-v4.1-flash-alias

Conversation

@Circumsized

@Circumsized Circumsized commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes two related issues with WorkBuddy AI international model routing and logging:

  1. Model routing now normalizes display-name formats like 'DeepSeek: DeepSeek V4.1 Flash' to canonical IDs, fixing routing failures for external clients that send display names instead of model IDs.

  2. Logging now classifies client-side cancellations (context canceled) as 'canceled' instead of 'unavailable', preventing false 'unavailable' errors in the logs UI and ensuring canceled requests don't incorrectly affect account cooldown state.

These changes ensure that:

  • WorkBuddy AI clients can successfully route to deepseek-v4.1-flash
  • Client disconnections during streaming are properly logged as canceled
  • Account health metrics accurately reflect actual service availability

@Circumsized Circumsized changed the title fix(model-routing): normalize display-name prefixed models for routing fix(model-routing,logging): normalize display-name models and classify canceled requests Sep 14, 2026
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.

2 participants