c56bef871b
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
10 lines
621 B
YAML
10 lines
621 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Addressed incorrect assumptions in the `ChatMessage` class that raised errors in valid usage scenario.
|
|
1. `ChatMessage.from_user` with `content_parts`: Previously, at least one text part was required, even though some
|
|
model providers support messages with only image parts. This restriction has been removed.
|
|
If a provider has such a limitation, it should now be enforced in the provider's implementation.
|
|
2. `ChatMessage.to_openai_dict_format`: Messages containing multiple text parts weren't supported, despite this
|
|
being allowed by the OpenAI API. This has now been corrected.
|