summaryrefslogtreecommitdiffstats
path: root/etc/tool/create_provider.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2023-11-12 18:03:04 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2023-11-12 18:03:04 +0100
commit2fb932220daccc08d25da1ee558fe975cf016b3a (patch)
tree30bd52159f23963731f9c634b6d0150ef042e5b6 /etc/tool/create_provider.py
parentAdd auto_continue to OpenaiChat (diff)
downloadgpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar.gz
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar.bz2
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar.lz
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar.xz
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.tar.zst
gpt4free-2fb932220daccc08d25da1ee558fe975cf016b3a.zip
Diffstat (limited to 'etc/tool/create_provider.py')
-rw-r--r--etc/tool/create_provider.py2
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")