summaryrefslogtreecommitdiffstats
path: root/tool/provider_init.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-09-17 23:24:22 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-09-17 23:24:22 +0200
commit54f4f3904e018bb36b2d76a5a6880da69f6a324e (patch)
treec8906383c147dc9048f5db1debe46faf1e5418e4 /tool/provider_init.py
parentUpdate __init__.py (diff)
parentMerge pull request #911 from xtekky/revert-907-fix-type-hint (diff)
downloadgpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar.gz
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar.bz2
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar.lz
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar.xz
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.tar.zst
gpt4free-54f4f3904e018bb36b2d76a5a6880da69f6a324e.zip
Diffstat (limited to 'tool/provider_init.py')
-rw-r--r--tool/provider_init.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/provider_init.py b/tool/provider_init.py
index fac099ed..cd7f9333 100644
--- a/tool/provider_init.py
+++ b/tool/provider_init.py
@@ -3,13 +3,13 @@ from pathlib import Path
def main():
content = create_content()
- with open("g4f/Provider/__init__.py", "w", encoding="utf-8") as f:
+ with open("g4f/provider/__init__.py", "w", encoding="utf-8") as f:
f.write(content)
def create_content():
path = Path()
- paths = path.glob("g4f/Provider/*.py")
+ paths = path.glob("g4f/provider/*.py")
paths = [p for p in paths if p.name not in ["__init__.py", "base_provider.py"]]
classnames = [p.stem for p in paths]