Skip to content

Comments

feat: add media governance types and media support in proxyLLMCall#95

Merged
saurabhjain1592 merged 5 commits intomainfrom
feat/media-governance
Feb 18, 2026
Merged

feat: add media governance types and media support in proxyLLMCall#95
saurabhjain1592 merged 5 commits intomainfrom
feat/media-governance

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Add MediaContent, MediaAnalysisResult, MediaAnalysisResponse types with builder pattern
  • Add media field to ClientRequest and mediaAnalysis to ClientResponse
  • Wire media into proxyLLMCall request building
  • Update MoreTypesTest for new constructor parameter

Test plan

  • mvn test passes (907 tests)
  • E2E example passes against live Docker
  • CI pipeline green

Add MediaContent, MediaAnalysisResult, MediaAnalysisResponse types
with builder pattern and Jackson annotations. Wire media field into
ClientRequest and mediaAnalysis into ClientResponse.
- Add extractedText field to MediaAnalysisResult with JsonProperty,
  getter, equals/hashCode/toString
- Defensive copy for media list in ClientRequest builder
- Defensive copies for piiTypes, warnings in MediaAnalysisResult
- Defensive copy for results in MediaAnalysisResponse
…xt removal

- Skip response cache for media requests (binary content makes keys unreliable)
- Replace extractedText with hasExtractedText (boolean) + extractedTextLength (int)
- Add proxyLLMCallShouldSkipCacheWithMedia and proxyLLMCallShouldUseCacheWithoutMedia tests
@saurabhjain1592 saurabhjain1592 merged commit f5a32c0 into main Feb 18, 2026
9 checks passed
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