Skip to content

fix: stop stripping dcp-like text from tool outputs - #680

Open
Tarquinen wants to merge 1 commit into
devfrom
fix/strip-tool-output
Open

Tarquinen wants to merge 1 commit into
devfrom
fix/strip-tool-output

Conversation

@Tarquinen

Copy link
Copy Markdown
Owner

Fixes #657

  • Hallucination stripping now only touches text parts. Tool outputs (file reads, bash) are returned unchanged, so <dcp-*> tags and @N@-like text in real files are kept.

Tested: unit tests; sandbox on OpenCode 2.3.0 and V1: reading a file with <dcp-system-reminder> and @1@ now reaches the model in full (before: those lines were missing from the request).

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