diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-20 18:36:04 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-20 18:36:04 +0100 |
commit | 8787db385eec227f2c101544363d02d2d285cc24 (patch) | |
tree | 2f2e6fbb0c804347f072746178b2f886125041ef /etc/tool/copilot.py | |
parent | Remove usage of get_event_loop helper (diff) | |
download | gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar.gz gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar.bz2 gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar.lz gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar.xz gpt4free-8787db385eec227f2c101544363d02d2d285cc24.tar.zst gpt4free-8787db385eec227f2c101544363d02d2d285cc24.zip |
Diffstat (limited to 'etc/tool/copilot.py')
-rw-r--r-- | etc/tool/copilot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py index 62698c70..4de53ffc 100644 --- a/etc/tool/copilot.py +++ b/etc/tool/copilot.py @@ -16,7 +16,7 @@ g4f.debug.logging = True g4f.debug.version_check = False GITHUB_TOKEN = os.getenv('GITHUB_TOKEN') -G4F_PROVIDER = os.getenv('G4F_PROVIDER') or g4f.Provider.OpenaiChat +G4F_PROVIDER = os.getenv('G4F_PROVIDER') G4F_MODEL = os.getenv('G4F_MODEL') or g4f.models.gpt_4 def get_pr_details(github: Github) -> PullRequest: |