Comprehensive Updates and Enhancements Across Multiple Providers #2196
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates and enhancements to various provider, improving functionality, consistency, and overall performance. The changes include the addition of new providers, updates to existing models, and refinements to class methods and attributes.
New Providers Added
'upstage/solar-1-mini-chat', 'upstage/solar-1-mini-chat-ja'
.'flux', 'flux-realism', 'flux-anime', 'flux-3d'
.Provider Updates and Improvements
gpt-4
andgpt-4o
.mixtral-8x7B
to lowercasemixtral-8x7b
.model_aliases
dictionary.default_model
to@cf/qwen/qwen1.5-14b-chat-awq
.model_aliases
dictionary.get_model
method.create_async_generator
to use the new method.default_model
tometa-llama/Meta-Llama-3.1-70B-Instruct
.model_aliases
dictionary.get_model
method.create_completion
method.default_model
tometa-llama/Meta-Llama-3.1-70B-Instruct
.model_aliases
dictionary.get_model
method.create_async_generator
method.ProviderModelMixin
to class inheritance.default_model
as 'gpt-4o-mini'.supports_gpt_35_turbo
attribute.supports_gpt_4
attribute.get_models
method for dynamic fetching and caching.model_aliases
dictionary.create_async_generator
method.get_model
andis_supported
methods.refresh_auth_code
andget_auth_code
methods.ProviderModelMixin
.supports_gpt_4
.default_model
.ProviderModelMixin
.AsyncGeneratorProvider
.default_model
andmodel_aliases
.create_async
withcreate_async_generator
.default_model
.models
list.create_async_generator
.Removed Providers
Feedough
not_working/
Cohere
GeminiProChat
TeachAnything
Marsyoo
Updated Core Files
__init__.py
:FluxAirforce
andUpstage
.deprecated
import.models.py
:These enhancements aim to provide a more robust and user-friendly experience, ensure up-to-date model support, and optimize performance across various provider.