Skip to content

Fix/content part migration chat models#1

Merged
mathieuripert merged 8 commits into
mainfrom
fix/content-part-migration-chat-models
May 25, 2025
Merged

Fix/content part migration chat models#1
mathieuripert merged 8 commits into
mainfrom
fix/content-part-migration-chat-models

Conversation

@mathieuripert
Copy link
Copy Markdown
Owner

No description provided.

…ing ContentPart handling in ChatOllamaAI, ChatMistralAI, ChatPerplexity, ChatOpenAI, ChatVertexAI, and ChatGoogleAI - Add extract_content_text helper functions to handle both string and ContentPart list content - Fix system message handling in ChatVertexAI and ChatGoogleAI for ContentPart structures - Update test expectations to use ContentPart.text!() format instead of plain strings - Ensure all chat models properly handle the migration from string content to ContentPart lists - Resolve 19 test failures related to content format mismatches - All tests now pass with the new ContentPart-based message content structure
@mathieuripert mathieuripert merged commit e03d94d into main May 25, 2025
1 of 2 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