summaryrefslogtreecommitdiffstats
path: root/g4f/providers/types.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-20 19:58:16 +0100
committerGitHub <noreply@github.com>2024-11-20 19:58:16 +0100
commitffb4b0d162cc29b1caa4539d854de37206804225 (patch)
treeea565c46ed908d2a6b4ef3fef1f100e68428aec3 /g4f/providers/types.py
parentUpdate api.py (diff)
downloadgpt4free-0.3.5.4.tar
gpt4free-0.3.5.4.tar.gz
gpt4free-0.3.5.4.tar.bz2
gpt4free-0.3.5.4.tar.lz
gpt4free-0.3.5.4.tar.xz
gpt4free-0.3.5.4.tar.zst
gpt4free-0.3.5.4.zip
Diffstat (limited to 'g4f/providers/types.py')
-rw-r--r--g4f/providers/types.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/g4f/providers/types.py b/g4f/providers/types.py
index e7ca32ee..d6d7cccd 100644
--- a/g4f/providers/types.py
+++ b/g4f/providers/types.py
@@ -3,7 +3,6 @@ from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Union, Dict, Type
from ..typing import Messages, CreateResult
-from .conversation import BaseConversation
class BaseProvider(ABC):
"""
@@ -98,10 +97,6 @@ class BaseRetryProvider(BaseProvider):
ProviderType = Union[Type[BaseProvider], BaseRetryProvider]
-class FinishReason():
- def __init__(self, reason: str):
- self.reason = reason
-
class Streaming():
def __init__(self, data: str) -> None:
self.data = data