diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 12:12:36 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-19 12:12:36 +0200 |
commit | 427073805b39a2c2879e0a26a5b18a701b2a7d0a (patch) | |
tree | ad95f6902a47a66e687426d49f8ccbbd4869b527 /g4f | |
parent | refactor(g4f/gui/server/api.py): streamline model retrieval logic (diff) | |
download | gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar.gz gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar.bz2 gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar.lz gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar.xz gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.tar.zst gpt4free-427073805b39a2c2879e0a26a5b18a701b2a7d0a.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/providers/types.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/g4f/providers/types.py b/g4f/providers/types.py index 50c14431..69941a26 100644 --- a/g4f/providers/types.py +++ b/g4f/providers/types.py @@ -13,9 +13,8 @@ class BaseProvider(ABC): working (bool): Indicates if the provider is currently working. needs_auth (bool): Indicates if the provider needs authentication. supports_stream (bool): Indicates if the provider supports streaming. - supports_gpt_35_turbo (bool): Indicates if the provider supports GPT-3.5 Turbo. - supports_gpt_4 (bool): Indicates if the provider supports GPT-4. supports_message_history (bool): Indicates if the provider supports message history. + supports_system_message (bool): Indicates if the provider supports system messages. params (str): List parameters for the provider. """ @@ -23,8 +22,6 @@ class BaseProvider(ABC): working: bool = False needs_auth: bool = False supports_stream: bool = False - supports_gpt_35_turbo: bool = False - supports_gpt_4: bool = False supports_message_history: bool = False supports_system_message: bool = False params: str @@ -109,4 +106,4 @@ class Streaming(): self.data = data def __str__(self) -> str: - return self.data
\ No newline at end of file + return self.data |