MistralSharp icon indicating copy to clipboard operation
MistralSharp copied to clipboard

Refactor MistralClient Class

Open markjamesm opened this issue 2 years ago • 1 comments

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.

markjamesm avatar Dec 16 '23 07:12 markjamesm

Currently working on this, started with this commit:

https://github.com/markjamesm/MistralSharp/commit/4b6c03e2a2cd0102d46fe2a42e53a4b5087c0073

markjamesm avatar Dec 17 '23 05:12 markjamesm