summaryrefslogtreecommitdiffstats
path: root/tool/provider_init.py
diff options
context:
space:
mode:
authorMIDORIBIN <aquarion123@gmail.com>2023-09-16 03:33:25 +0200
committerMIDORIBIN <aquarion123@gmail.com>2023-09-16 03:36:47 +0200
commitc6f2277906ec87bcb3a6848eb299d3ff0d05bd2d (patch)
treea9d131e0cab877800bc95f465a73ff299f1b7e27 /tool/provider_init.py
parentfix type hint (diff)
downloadgpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.gz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.bz2
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.lz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.xz
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.tar.zst
gpt4free-c6f2277906ec87bcb3a6848eb299d3ff0d05bd2d.zip
Diffstat (limited to '')
-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 cd7f9333..fac099ed 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]