Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-message types for multi-modal content #259

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Implements AIMultiMessage and UserMultiMessage types to support multi-modal content including text, images, audio, and data. Adds comprehensive test coverage and OpenAI schema render methods.

Key changes:

  • Add AbstractContentBlock with concrete types (TextContent, ImageContent, AudioContent, DataContent)
  • Implement AIMultiMessage and UserMultiMessage with vector-based content fields
  • Add render methods for OpenAI schema compatibility
  • Add comprehensive test coverage

Link to Devin run: https://app.devin.ai/sessions/07fe371a997b4c56855bf6b69017eeeb

- Add AbstractContentBlock and concrete types (TextContent, ImageContent, AudioContent, DataContent)
- Implement AIMultiMessage and UserMultiMessage types
- Add render methods for OpenAI schema
- Add comprehensive tests for new message types

Co-Authored-By: Jan Šiml <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants