summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-11-02 12:50:28 +0100
committerkqlio67 <kqlio67@users.noreply.github.com>2024-11-02 12:50:28 +0100
commite1b131290217308026e3bb321d90e9e4a54b0693 (patch)
tree5495b90c8bcefe20dfe8b8818d00ef209aee1deb
parentUpdate (g4f/Provider/Allyfy.py) (diff)
downloadgpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar.gz
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar.bz2
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar.lz
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar.xz
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.tar.zst
gpt4free-e1b131290217308026e3bb321d90e9e4a54b0693.zip
-rw-r--r--docs/providers-and-models.md2
-rw-r--r--g4f/Provider/AmigoChat.py2
-rw-r--r--g4f/models.py22
3 files changed, 12 insertions, 14 deletions
diff --git a/docs/providers-and-models.md b/docs/providers-and-models.md
index 1165959f..b046b6f5 100644
--- a/docs/providers-and-models.md
+++ b/docs/providers-and-models.md
@@ -24,7 +24,7 @@ This document provides an overview of various AI providers and models, including
|[api.airforce](https://api.airforce)|`g4f.Provider.Airforce`|`claude-3-haiku, claude-3-sonnet, claude-3-opus, gpt-4, gpt-4-turbo, gpt-4o-mini, gpt-3.5-turbo, llama-3-70b, llama-3-8b, llama-2-13b, llama-3.1-405b, llama-3.1-70b, llama-3.1-8b, llamaguard-2-8b, llamaguard-7b, llama-3.2-90b, llamaguard-3-8b, llama-3.2-11b, llamaguard-3-11b, llama-3.2-3b, llama-3.2-1b, llama-2-7b, mixtral-8x7b, mixtral-8x22b, mythomax-13b, openchat-3.5, qwen-2-72b, qwen-2-5-7b, qwen-2-5-72b, gemma-2b, gemma-2-9b, gemma-2b-27b, gemini-flash, gemini-pro, dbrx-instruct, deepseek-coder, hermes-2-dpo, hermes-2, openhermes-2.5, wizardlm-2-8x22b, phi-2, solar-10-7b, cosmosrp, lfm-40b, german-7b, zephyr-7b`|`flux, flux-realism', flux-anime, flux-3d, flux-disney, flux-pixel, flux-4o, any-dark, sdxl`|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[aiuncensored.info](https://www.aiuncensored.info)|`g4f.Provider.AIUncensored`|✔|✔|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
|[allyfy.chat](https://allyfy.chat/)|`g4f.Provider.Allyfy`|`gpt-3.5-turbo`|❌|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
-|[amigochat.io/chat](https://amigochat.io/chat/)|`g4f.Provider.AmigoChat`|`gpt-4o, gpt-4o-mini, o1, o1-mini, claude-3.5-sonnet, llama-3.2-90b, llama-3.1-405b, gemini-pro`|`flux-pro, flux-realism, dalle-3`|❌|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌|
+|[amigochat.io/chat](https://amigochat.io/chat/)|`g4f.Provider.AmigoChat`|✔|✔|❌|✔|![Cloudflare](https://img.shields.io/badge/Cloudflare-f48d37)|❌|
|[openchat.team](https://openchat.team/)|`g4f.Provider.Aura`|✔|❌|❌|?|![Disabled](https://img.shields.io/badge/Disabled-red)|❌|
|[bing.com](https://bing.com/chat)|`g4f.Provider.Bing`|`gpt-4`|✔|`gpt-4-vision`|✔|![Active](https://img.shields.io/badge/Active-brightgreen)|❌+✔|
|[bing.com/images](https://www.bing.com/images/create)|`g4f.Provider.BingCreateImages`|`❌|✔|❌|❌|![Active](https://img.shields.io/badge/Active-brightgreen)|✔|
diff --git a/g4f/Provider/AmigoChat.py b/g4f/Provider/AmigoChat.py
index f5027111..b086d5e1 100644
--- a/g4f/Provider/AmigoChat.py
+++ b/g4f/Provider/AmigoChat.py
@@ -13,7 +13,7 @@ class AmigoChat(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://amigochat.io/chat/"
chat_api_endpoint = "https://api.amigochat.io/v1/chat/completions"
image_api_endpoint = "https://api.amigochat.io/v1/images/generations"
- working = True
+ working = False
supports_stream = True
supports_system_message = True
supports_message_history = True
diff --git a/g4f/models.py b/g4f/models.py
index dd2b827d..944c4e9c 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -10,7 +10,6 @@ from .Provider import (
Airforce,
AIUncensored,
Allyfy,
- AmigoChat,
Bing,
Blackbox,
ChatGpt,
@@ -105,7 +104,6 @@ default = Model(
ChatHub,
ChatGptEs,
ChatHub,
- AmigoChat,
ChatifyAI,
Cloudflare,
Editee,
@@ -139,13 +137,13 @@ gpt_35_turbo = Model(
gpt_4o = Model(
name = 'gpt-4o',
base_provider = 'OpenAI',
- best_provider = IterListProvider([NexraChatGPT, Blackbox, ChatGptEs, AmigoChat, DarkAI, Editee, GizAI, Airforce, Liaobots, OpenaiChat])
+ best_provider = IterListProvider([NexraChatGPT, Blackbox, ChatGptEs, DarkAI, Editee, GizAI, Airforce, Liaobots, OpenaiChat])
)
gpt_4o_mini = Model(
name = 'gpt-4o-mini',
base_provider = 'OpenAI',
- best_provider = IterListProvider([DDG, ChatGptEs, FreeNetfly, Pizzagpt, MagickPen, AmigoChat, RubiksAI, Liaobots, Airforce, GizAI, ChatgptFree, Koala, OpenaiChat, ChatGpt])
+ best_provider = IterListProvider([DDG, ChatGptEs, FreeNetfly, Pizzagpt, MagickPen, RubiksAI, Liaobots, Airforce, GizAI, ChatgptFree, Koala, OpenaiChat, ChatGpt])
)
gpt_4_turbo = Model(
@@ -164,13 +162,13 @@ gpt_4 = Model(
o1 = Model(
name = 'o1',
base_provider = 'OpenAI',
- best_provider = AmigoChat
+ best_provider = None
)
o1_mini = Model(
name = 'o1-mini',
base_provider = 'OpenAI',
- best_provider = IterListProvider([AmigoChat, GizAI])
+ best_provider = IterListProvider([GizAI])
)
@@ -231,7 +229,7 @@ llama_3_1_70b = Model(
llama_3_1_405b = Model(
name = "llama-3.1-405b",
base_provider = "Meta Llama",
- best_provider = IterListProvider([DeepInfraChat, Blackbox, AmigoChat, DarkAI, Airforce])
+ best_provider = IterListProvider([DeepInfraChat, Blackbox, DarkAI, Airforce])
)
# llama 3.2
@@ -256,7 +254,7 @@ llama_3_2_11b = Model(
llama_3_2_90b = Model(
name = "llama-3.2-90b",
base_provider = "Meta Llama",
- best_provider = IterListProvider([AmigoChat, Airforce])
+ best_provider = IterListProvider([Airforce])
)
@@ -362,7 +360,7 @@ phi_3_5_mini = Model(
gemini_pro = Model(
name = 'gemini-pro',
base_provider = 'Google DeepMind',
- best_provider = IterListProvider([GeminiPro, Blackbox, AIChatFree, GPROChat, NexraGeminiPro, AmigoChat, Editee, GizAI, Airforce, Liaobots])
+ best_provider = IterListProvider([GeminiPro, Blackbox, AIChatFree, GPROChat, NexraGeminiPro, Editee, GizAI, Airforce, Liaobots])
)
gemini_flash = Model(
@@ -440,7 +438,7 @@ claude_3_haiku = Model(
claude_3_5_sonnet = Model(
name = 'claude-3.5-sonnet',
base_provider = 'Anthropic',
- best_provider = IterListProvider([Blackbox, Editee, AmigoChat, GizAI, Liaobots])
+ best_provider = IterListProvider([Blackbox, Editee, GizAI, Liaobots])
)
@@ -817,14 +815,14 @@ flux = Model(
flux_pro = Model(
name = 'flux-pro',
base_provider = 'Flux AI',
- best_provider = IterListProvider([NexraFluxPro, AmigoChat])
+ best_provider = IterListProvider([NexraFluxPro])
)
flux_realism = Model(
name = 'flux-realism',
base_provider = 'Flux AI',
- best_provider = IterListProvider([Airforce, AmigoChat])
+ best_provider = IterListProvider([Airforce])
)