Added new providers, updated existing ones, and added new models and updated model lists #2125
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.
New providers added
Allyfy
provider withgpt3
model supportGeminiProChat
provider withgemini-pro
model supportMarsyoo
provider withgpt-4o
model supportLiteIcoding
provider withgpt-4o
,gpt-4-turbo
,claude-3-opus
,claude-3-5-sonnet
,gemini-pro
models supportFreeNetfly
provider withgpt-3.5-turbo
,gpt-4o-mini
TeachAnything
provider withllama-3-70b-instruct
MagickPenAsk
provider withgpt-4o
MagickPenChat
provider withgpt-4o-mini
Supported Functions Not Yet Implemented in Providers
Some providers have additional capabilities that are not yet integrated into their main implementation:
Marsyoo:
Image upload support
LiteIcoding:
Browse Web
Google Search
DALL-E
Bing Search
Real Time
Script Execute
Document upload
Image upload
Provider Updates and Improvements
ChatGot (formerly GeminiProChat)
Enhanced the structure and functionality of the ChatGot class:
GeminiProChat
toChatGot
for better clarity and consistencygemini-pro
create_async_generator
method andgenerate_signature function
Chatgpt4Online
Enhanced the structure and functionality of the Chatgpt4Online class:
HuggingChat + HuggingFace
Enhanced the structure and functionality of the HuggingChat class:
meta-llama/Meta-Llama-3.1-70B-Instruct
meta-llama/Meta-Llama-3.1-405B-Instruct-FP8
meta-llama/Meta-Llama-3-70B-Instruct
Liaobots
Enhanced the structure and functionality of the Liaobots class:
Updated the models dictionary with new and modified entries:
gpt-4o-mini-free
andgpt-4o-mini
modelsgpt-4-0613
model specificationsgpt-4-turbo
modelRemoved several models that are no longer supported:
gpt-3.5-turbo
claude-3-opus-20240229
claude-3-opus-20240229-aws
claude-3-opus-100k-poe
claude-3-sonnet-20240229
claude-3-haiku-20240307
claude-2.1
claude-2.0
Removed unused class attributes and methods:
supports_system_message
,supports_gpt_35_turbo
,supports_gpt_4
,default_model
Simplified the class structure to focus on core functionality
PerplexityLabs
Enhanced the structure and functionality of the PerplexityLabs class:
Updated the list of supported models:
claude-3-haiku
,codellama
,mistral-7b
,llava
,dbrx-instruct
, and othersgemma-2-9b-it
,gemma-2-27b-it
,nemotron-4-340b-instruct
llama-3
variants andmixtral-8x7b-instruct
Removed the model_aliases dictionary, simplifying model management
Maintained existing functionality for API interactions and response handling
Kept the default_model as
mixtral-8x7b-instruct
Pi
Enhanced the structure and functionality of the Pi class:
pi
ReplicateHome
Enhanced the structure and functionality of the ReplicateHome class:
Updated the default_model to
stability-ai/stable-diffusion-3
Revised the list of supported models:
For image generation:
stability-ai/stable-diffusion-3
bytedance/sdxl-lightning-4step
playgroundai/playground-v2.5-1024px-aesthetic
stability-ai/sdxl
andai-forever/kandinsky-2.2
For text generation:
meta/meta-llama-3-70b-instruct
mistralai/mixtral-8x7b-instruct-v0.1
google-deepmind/gemma-2b-it
meta/llama-2-70b-chat
andmistralai/mistral-7b-instruct-v0.2
Updated the versions dictionary with new model versions
Modified the image_models and text_models sets to reflect the new model list
Maintained existing functionality for API interactions and response handling
You
Enhanced the structure and functionality of the You class:
Updated the list of supported models:
gpt-4o-mini
,claude-3.5-sonnet
,llama-3.1-70b
,gemini-1-5-flash
,gemini-1-0-pro
,dolphin-2.5
claude-instant
,zephyr
Removed the model_aliases dictionary
Maintained existing functionality for API interactions and response handling
Kept the default_model as
gpt-3.5-turbo
and default_vision_model as "agent"Openai
Enhanced the structure and functionality of the Openai class:
OpenaiChat
Enhanced the structure and functionality of the OpenaiChat class:
Updated the models list:
gpt-3.5-turbo
gpt-4o-mini
Modified the
model_aliases
dictionary