summaryrefslogtreecommitdiffstats
path: root/tool/provider_init.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-09-17 23:23:54 +0200
committerGitHub <noreply@github.com>2023-09-17 23:23:54 +0200
commit78bfbe717d7f9610da9c119ad47f4fba3738775a (patch)
tree90b6ab77ab6c4c53eb2ac1688178638e22be90d7 /tool/provider_init.py
parent~ | Merge pull request #907 from MIDORIBIN/fix-type-hint (diff)
downloadgpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.gz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.bz2
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.lz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.xz
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.tar.zst
gpt4free-78bfbe717d7f9610da9c119ad47f4fba3738775a.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]