Skip to content

Comments

feat: add media governance types and proxy_llm_call_with_media#98

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

feat: add media governance types and proxy_llm_call_with_media#98
saurabhjain1592 merged 9 commits intomainfrom
feat/media-governance

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Add MediaContent, MediaAnalysisResult, MediaAnalysisResponse Pydantic v2 models
  • Add proxy_llm_call_with_media() method to AxonFlow client
  • Add media field to ClientRequest and media_analysis to ClientResponse
  • Export new types from __init__.py

Test plan

  • E2E example passes against live Docker
  • CI pipeline green (ruff, pytest)

Add MediaContent, MediaAnalysisResult, MediaAnalysisResponse Pydantic
models and proxy_llm_call_with_media method for multimodal image
governance requests.
- Add extracted_text field to MediaAnalysisResult
- Add proxy_llm_call_with_media to SyncAxonFlow wrapper
- Disable response caching for media requests (cache key ignores
  media content, would return stale results for different images)
- Constrain MediaContent.source to Literal["base64", "url"]
- Remove unused cache_key variable in proxy_llm_call_with_media
- Break long Field description line in MediaContent.source
@saurabhjain1592 saurabhjain1592 merged commit 656b302 into main Feb 18, 2026
13 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