Last active
February 5, 2025 07:27
-
-
Save jamesmurdza/c25fa8e5ab250dbc4068f3c6078a1eff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MistralBaseProvider(OpenAIBaseProvider): | |
def create_function_def(self, name, details, properties, required): | |
details["description"] = {"type": "string", "description": details.get("description")} | |
return super().create_function_def(name, details, properties, required) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment