From 84bbedf31bf4d6368e5685346eff0cc0c76987e3 Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Sun, 20 Oct 2024 17:48:04 +0300 Subject: update etc/tool/copilot.py --- etc/tool/copilot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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') -- cgit v1.2.3