- Introduced MessageContentPart and ImageURL types to allow for multi-content messages that can include both text and images. - Updated the Message struct to include a MultiContent field for handling multiple message parts. - Modified the ConvertMessages function to prioritize processing of multi-content messages, improving the handling of user messages with images. These changes enhance the flexibility and functionality of chat messages, enabling richer content delivery. |
||
|---|---|---|
| .. | ||
| chat.go | ||
| image_resolve.go | ||
| json_field_extractor.go | ||
| json_field_extractor_test.go | ||
| lkeap.go | ||
| nvidia.go | ||
| ollama.go | ||
| provider_chat.go | ||
| qwen.go | ||
| remote_api.go | ||
| remote_api_test.go | ||
| sse_reader.go | ||