summaryrefslogtreecommitdiffstats
path: root/etc/tool/copilot.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-20 16:48:04 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-20 16:48:04 +0200
commit84bbedf31bf4d6368e5685346eff0cc0c76987e3 (patch)
treea68d26c20e5d15205e3ef40108242369a308ac0e /etc/tool/copilot.py
parentupdate etc/tool/copilot.py (diff)
downloadgpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar.gz
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar.bz2
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar.lz
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar.xz
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.tar.zst
gpt4free-84bbedf31bf4d6368e5685346eff0cc0c76987e3.zip
Diffstat (limited to 'etc/tool/copilot.py')
-rw-r--r--etc/tool/copilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py
index 646da43b..2cdcdc9f 100644
--- a/etc/tool/copilot.py
+++ b/etc/tool/copilot.py
@@ -18,7 +18,7 @@ g4f.debug.version_check = False
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
GITHUB_REPOSITORY = os.getenv('GITHUB_REPOSITORY')
G4F_PROVIDER = os.getenv('G4F_PROVIDER')
-G4F_MODEL = os.getenv('G4F_MODEL') or g4f.models.gpt_4
+G4F_MODEL = os.getenv('G4F_MODEL') or g4f.models.gpt_4o or g4f.models.gpt_4o
def get_github_token():
token = os.getenv('GITHUB_TOKEN')