Skip to content

Reduce chat data exposure in generation and dataset handling#55

Open
MayVerse4 wants to merge 1 commit into
deepseek-ai:mainfrom
MayVerse4:fix/reduce-chat-data-exposure-in-generation-
Open

Reduce chat data exposure in generation and dataset handling#55
MayVerse4 wants to merge 1 commit into
deepseek-ai:mainfrom
MayVerse4:fix/reduce-chat-data-exposure-in-generation-

Conversation

@MayVerse4

Copy link
Copy Markdown

Added privacy protections for chat generation failures by redacting message-bearing fields from error JSONL records by default, with an explicit opt-in flag to preserve full failed conversations when needed. Error messages are scrubbed of source conversation text, server validation exception output is sanitized, and error writes are flushed promptly. Updated JSONL indexing to support disabling/relocating the cache via environment/constructor options, avoid storing absolute source paths in cache metadata, include file size in cache keys, and write cache files with private permissions. Added support for overriding evaluation dataset location via DEEPSPEC_EVAL_DATASET_ROOT / eval args so private eval data need not live in the repository default path.

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