diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 11:22:24 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 11:22:24 +0200 |
commit | af72d7cfc7e84eed97730567c139ad69e568dce8 (patch) | |
tree | f59fa42520f4ec2c7884a075130a1e8fbf0a16a4 /g4f/Provider | |
parent | Merge pull request #2277 from kqlio67/main (diff) | |
download | gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar.gz gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar.bz2 gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar.lz gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar.xz gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.tar.zst gpt4free-af72d7cfc7e84eed97730567c139ad69e568dce8.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/AmigoChat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/Provider/AmigoChat.py b/g4f/Provider/AmigoChat.py index 5e896dc8..5d579841 100644 --- a/g4f/Provider/AmigoChat.py +++ b/g4f/Provider/AmigoChat.py @@ -14,7 +14,6 @@ class AmigoChat(AsyncGeneratorProvider, ProviderModelMixin): chat_api_endpoint = "https://api.amigochat.io/v1/chat/completions" image_api_endpoint = "https://api.amigochat.io/v1/images/generations" working = True - supports_gpt_4 = True supports_stream = True supports_system_message = True supports_message_history = True @@ -159,7 +158,7 @@ class AmigoChat(AsyncGeneratorProvider, ProviderModelMixin): pass else: # Image generation - prompt = messages[0]['content'] + prompt = messages[-1]['content'] data = { "prompt": prompt, "model": model, |