Repository navigation
Description
Problem
Enabling inference privacy protection currently makes image-based model requests unusable: input_image, image_url, image-generation results, and other opaque image carriers are rejected as content_unsupported under enforcing mode. This prevents an otherwise valid multimodal request from reaching the model or its result from reaching the caller.
The behavior entered the merged history in #2311 (b028b2bb62076d2788820f0961177b9869f57527). In src/powercontext/builtin/inference/model_payload.py, image keys/types are classified as opaque; PrivacyPolicy.inspect_json then withholds the request or response. This is an explicit coverage limitation, not a provider outage.
There is also a related classification problem: a text-only Responses result containing "image": {"context_compression": "disabled"} is rejected by the same rule even though this object is configuration metadata, not image content.
Requested behavior
Please make privacy protection usable with image workflows. Prefer an explicit option to pass through opaque image parts, or support and clearly document a relaxed mode that permits them, instead of unconditionally making the whole request unusable whenever privacy protection is enabled.
For a mixed text-and-image request, continue checking the text that can be inspected. Any image pass-through must clearly say that the image was not inspected; it must not claim complete privacy coverage of opaque content. A deployment that explicitly requires full inspection may still choose refusal.
Acceptance criteria
- Users can choose a documented mode or policy that allows normal image inputs and outputs without removing the entire Gateway integration.
- Tests cover actual image inputs, image-generation outputs, and mixed text/image messages; permitted parts retain their contents.
- Response configuration metadata is distinguished from actual image content.
- Documentation and reported coverage distinguish inspected text from uninspected images.
Related PR: #2457 enables disabled, shadow, and advisory operation while retaining context-binding checks. This issue tracks the remaining image-handling policy and the metadata misclassification in enforcing mode.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
hireview001 commentedon Dec 2, 2026
This issue belongs to the Core module. @hidb4ai, please lead follow-up, with support from @frf12, @Fengzdadi, @beatenevo. Please provide a substantive response within 72 hours of issue creation, outlining the proposed disposition, any additional information needed, or the next investigation steps. After sufficient discussion and agreement on the scope and acceptance criteria, a contributor who volunteers to take it on can undertake implementation.