Skip to content

feat(sql-agent): WithCellRedactor to mask result values before the LLM#127

Merged
hung12ct merged 1 commit into
mainfrom
feat/sql-agent-cell-redactor
Jun 6, 2026
Merged

feat(sql-agent): WithCellRedactor to mask result values before the LLM#127
hung12ct merged 1 commit into
mainfrom
feat/sql-agent-cell-redactor

Conversation

@hung12ct
Copy link
Copy Markdown
Owner

@hung12ct hung12ct commented Jun 6, 2026

Adds an opt-in per-cell redactor applied to the model-facing preview only. It deep-copies the redacted rows, so OnSQL, tools.Result.Structured, and the host grid keep full-fidelity values while the model sees masked ones. nil (default) is a zero-allocation no-op.

Adds an opt-in per-cell redactor applied to the model-facing preview only.
It deep-copies the redacted rows, so OnSQL, tools.Result.Structured, and the
host grid keep full-fidelity values while the model sees masked ones. nil
(default) is a zero-allocation no-op.
@hung12ct hung12ct merged commit bc81b1f into main Jun 6, 2026
1 check passed
@hung12ct hung12ct deleted the feat/sql-agent-cell-redactor branch June 6, 2026 16:54
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