summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Pi.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-08-01 21:10:29 +0200
committerGitHub <noreply@github.com>2024-08-01 21:10:29 +0200
commit36e6306bd0fea03c9d1ec341ad1949b6b825d571 (patch)
tree203d4138d994e03f0e9954cb74d52d70963c4904 /g4f/Provider/Pi.py
parentMerge pull request #2106 from zachey01/main (diff)
parentAdded new providers TeachAnything MagickPenAsk MagickPenChat (diff)
downloadgpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar.gz
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar.bz2
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar.lz
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar.xz
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.tar.zst
gpt4free-36e6306bd0fea03c9d1ec341ad1949b6b825d571.zip
Diffstat (limited to 'g4f/Provider/Pi.py')
-rw-r--r--g4f/Provider/Pi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/Provider/Pi.py b/g4f/Provider/Pi.py
index 5a1e9f0e..e03830f4 100644
--- a/g4f/Provider/Pi.py
+++ b/g4f/Provider/Pi.py
@@ -11,6 +11,7 @@ class Pi(AbstractProvider):
working = True
supports_stream = True
_session = None
+ default_model = "pi"
@classmethod
def create_completion(
@@ -65,4 +66,4 @@ class Pi(AbstractProvider):
yield json.loads(line.split(b'data: ')[1])
elif line.startswith(b'data: {"title":'):
yield json.loads(line.split(b'data: ')[1])
- \ No newline at end of file
+