mistral.rs
mistral.rs copied to clipboard
Refactor request messages (Rust) API
Currently, our messages API is clunky as we need to support the older OpenAI format as well as the new, multimodal format (for Idefics and Llava). This is exposed in our MessageContent
type:
https://github.com/EricLBuehler/mistral.rs/blob/master/mistralrs-core/src/request.rs#L21
Refactoring this to be more idiomatic would be amazing. This is a great first issue to get started with!