diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2024-10-22 23:32:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 23:32:27 +0200 |
commit | a63c18de796bd4f3e818ff170b6ff595304f95e0 (patch) | |
tree | 844dbb9a8d3526a8b60564b78f7a19a4e0f605d9 /g4f/providers | |
parent | Merge pull request #2282 from Karasiq/patch-1 (diff) | |
parent | Updated docs/providers-and-models.md g4f/models.py g4f/Provider/Upstage.py (diff) | |
download | gpt4free-0.3.3.2.tar gpt4free-0.3.3.2.tar.gz gpt4free-0.3.3.2.tar.bz2 gpt4free-0.3.3.2.tar.lz gpt4free-0.3.3.2.tar.xz gpt4free-0.3.3.2.tar.zst gpt4free-0.3.3.2.zip |
Diffstat (limited to 'g4f/providers')
-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 |