diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-11-13 10:57:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 10:57:07 +0100 |
commit | ed008dcfe69de335947b1f4be0339e436b197bcc (patch) | |
tree | 77b695e017a45b43bd7ef9f518519696a570a40a /etc/tool/create_provider.py | |
parent | ~ | g4f `v-0.1.8.2` (diff) | |
parent | Add Berlin and Koala Provider (diff) | |
download | gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar.gz gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar.bz2 gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar.lz gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar.xz gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.tar.zst gpt4free-ed008dcfe69de335947b1f4be0339e436b197bcc.zip |
Diffstat (limited to 'etc/tool/create_provider.py')
-rw-r--r-- | etc/tool/create_provider.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/tool/create_provider.py b/etc/tool/create_provider.py index 361448e4..310e325e 100644 --- a/etc/tool/create_provider.py +++ b/etc/tool/create_provider.py @@ -7,6 +7,8 @@ sys.path.append(str(Path(__file__).parent.parent.parent)) import g4f +g4f.debug.logging = True + def read_code(text): if match := re.search(r"```(python|py|)\n(?P<code>[\S\s]+?)\n```", text): return match.group("code") |