Repository navigation
Dsml tool call tag - #35
Conversation
Add a test that verifies the parser handles a mismatched closing tag by treating the entire input as plain text rather than extracting a tool call. Auto-committed-on: dragonfly Co-authored-by: Medulla <medulla@tinyhumans.ai>
The tag regex previously accepted a `DeepSeek` DSML marker on the tag itself, such as `<|DSML|tool_call>`, but this marker is already handled by the `invoke_xml` parser and was causing duplicate or conflicting parsing paths. Removing it simplifies the regex and eliminates the possibility of silent drops when the tag form is used instead of the invoke form. Auto-committed-on: dragonfly Co-authored-by: Medulla <medulla@tinyhumans.ai>
The tag regex now matches an optional `DSML` marker (with optional pipe or fullwidth pipe separators) before the tool-call name, so that `<|DSML|tool_call>` is recognised as a valid opener. This mirrors the handling already present in `super::invoke_xml` for the `<invoke>` form, fixing a bug where DeepSeek turns using the tag form instead of the invoke form would parse the call as prose and silently drop it. Auto-committed-on: dragonfly Co-authored-by: Medulla <medulla@tinyhumans.ai>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Tiny Sweeper reviewTiny Sweeper reviewed this change across 6 lane(s) and found 0 active actionable finding(s). Detailed lane evidence and any incomplete work are listed below. State: Ready for maintainer review Review snapshot
Completeness: Complete What changedThe review could not produce a supported behavioral summary; inspect the cited changed surface and lane details below. FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. FindingsNo active actionable findings. Before mergeNone. Agent review detailscritique
security
tests
commits
description
e2e
Evidence and run details
|
Summary
Related issue
API or behavior changes
Validation
Commands actually run, with their outcome:
cargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo build --all-targets --all-featurescargo test --all-featuresTests
Documentation
Checklist
#[allow(...)],#[ignore], or relaxed lints.envcontents in the diff or the description