MistralSharp
MistralSharp copied to clipboard
Refactor MistralClient Class
I've been working rather quickly to implement the API, and a refactor is needed to cleanup the MistralClient class. I plan to split the GetAvailableModelsAsync() and ChatAsync() methods into smaller private methods to handle the conversion to DTO classes as they're currently quite long.
Currently working on this, started with this commit:
https://github.com/markjamesm/MistralSharp/commit/4b6c03e2a2cd0102d46fe2a42e53a4b5087c0073