Skip to content

Use latest DeepSeek Flash and recover malformed tool calls - #2494

Merged
ejsmith merged 1 commit into
mainfrom
feature/exie-latest-model
Aug 18, 2026
Merged

ejsmith merged 1 commit into
mainfrom
feature/exie-latest-model

Conversation

@ejsmith

@ejsmith ejsmith commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

  • route Exie through OpenRouter's unpinned DeepSeek V4 Flash latest-family alias
  • detect raw DSML tool-call markup before it reaches the browser and retry the provider once
  • return a clear error if the retry is also malformed
  • extend unit and provider-backed quality coverage for DSML leakage

Why

OpenRouter could return DeepSeek's internal DSML representation as ordinary assistant text, exposing broken tool-call markup in the conversation. The previous undated model slug also remained on the older Flash release instead of following the latest family revision.

Behavior

  • no public API contract changes
  • clean provider responses retain their original text-delta boundaries, but each provider round is validated before those deltas are emitted
  • malformed responses consume at most one additional provider request
  • existing usage, token, tool, time, and provider-price limits remain in place

Verification

dotnet test --project tests/Exceptionless.Tests/Exceptionless.Tests.csproj --no-restore --no-progress -- --filter-namespace Exceptionless.Tests.Assistant

  • 76 passed
  • 1 skipped: opt-in billable provider evaluation

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 37% 35% 286 ❌
Exceptionless.Core 75% 67% 10184 ✔
Exceptionless.Web 85% 69% 7903 ✔
Exceptionless.AppHost 38% 41% 147 ❌
Summary 78% (25157 / 32154) 67% (11810 / 17554) 18520 ✔

@ejsmith
ejsmith marked this pull request as ready for review August 18, 2026 21:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3dec500f5c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ejsmith
ejsmith merged commit 227b783 into main Aug 18, 2026
12 checks passed
@ejsmith
ejsmith deleted the feature/exie-latest-model branch August 18, 2026 21:22
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

⌂ 换网址