You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain models throw an error when a provider is specified directly, despite functioning correctly when the same model is executed randomly via the RetryProvider.
To reproduce the issue, consider the following example:
g4f.errors.ModelNotSupportedError: Model is not supported: mistralai/Mistral-7B-Instruct-v0.1 in: HuggingChat
However, when we comment out the provider=g4f.Provider.HuggingChat line and run the code multiple times, allowing the RetryProvider to randomly select the HuggingChat provider, the model functions as expected.
The text was updated successfully, but these errors were encountered:
Certain models throw an error when a provider is specified directly, despite functioning correctly when the same model is executed randomly via the
RetryProvider
.To reproduce the issue, consider the following example:
This code snippet yields the following error:
However, when we comment out the
provider=g4f.Provider.HuggingChat
line and run the code multiple times, allowing theRetryProvider
to randomly select theHuggingChat
provider, the model functions as expected.The text was updated successfully, but these errors were encountered: