Skip to content

Conversation

@carlos-marchal-ph
Copy link
Contributor

Enables the AI SDKs to capture multi modal data. This behaviour is gated under a _INTERNAL_LLMA_MULTIMODAL environment variable, which must be set to true, and should not be used for production until the new ingestion pipeline is set up as the default for LLMA events.

It is not a release PR on purpose, as it changes no behaviour for end users, only merges this code to keep iterating on it before committing to a public feature release.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments (1)

  1. posthog/ai/gemini/gemini_converter.py, line 178 (link)

    logic: Function _extract_text_from_parts no longer exists - it was replaced by _format_parts_as_content_blocks

4 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

@carlos-marchal-ph carlos-marchal-ph changed the title feat(llma)/multimodal-capture feat(llma): multimodal-capture Nov 28, 2025
@Radu-Raicea
Copy link
Member

What about Anthropic and LC?

@carlos-marchal-ph
Copy link
Contributor Author

carlos-marchal-ph commented Nov 28, 2025

What about Anthropic and LC?

Anthropic just uses the sanitisation methods and has no audio processing as of now, so simply disabling sanitisation automatically captures all inline data. I tested it and it displays properly on the frontend.

LC is not implemented yet, I've yet to add it to the multimodal testing tools and test around with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants