diff options
author | abc <98614666+xtekky@users.noreply.github.com> | 2024-05-15 00:45:13 +0200 |
---|---|---|
committer | abc <98614666+xtekky@users.noreply.github.com> | 2024-05-15 00:45:13 +0200 |
commit | 1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8 (patch) | |
tree | aabd2aa2013c7526c5e4de0a9dc2e05da81a5a4c /g4f/models.py | |
parent | . (diff) | |
download | gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar.gz gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar.bz2 gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar.lz gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar.xz gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.tar.zst gpt4free-1399758a4e000b0fe1cd3d9e86d1a4807d9e41e8.zip |
Diffstat (limited to 'g4f/models.py')
-rw-r--r-- | g4f/models.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py index e3da0363..0c5eaa9f 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -100,6 +100,14 @@ gpt_4 = Model( ]) ) +gpt_4o = Model( + name = 'gpt-4o', + base_provider = 'openai', + best_provider = RetryProvider([ + You + ]) +) + gpt_4_turbo = Model( name = 'gpt-4-turbo', base_provider = 'openai', @@ -330,6 +338,7 @@ class ModelUtils: 'gpt-3.5-long': gpt_35_long, # gpt-4 + 'gpt-4o' : gpt_4o, 'gpt-4' : gpt_4, 'gpt-4-0613' : gpt_4_0613, 'gpt-4-32k' : gpt_4_32k, |