summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Pi.py
diff options
context:
space:
mode:
authorkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-25 08:21:55 +0200
committerkqlio67 <166700875+kqlio67@users.noreply.github.com>2024-07-25 08:21:55 +0200
commit29c13e26cd794208786a8a6cf421c264015c7e3a (patch)
treeda3a3ebdc903ac22c451d1ffd749eebd7c0aeec8 /g4f/Provider/Pi.py
parentMerge pull request #2106 from zachey01/main (diff)
downloadgpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.gz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.bz2
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.lz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.xz
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.tar.zst
gpt4free-29c13e26cd794208786a8a6cf421c264015c7e3a.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
+