Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files- client/html/index.html +2 -1
- g4f/Provider/Providers/Chimera.py +2 -1
- g4f/models.py +9 -3
client/html/index.html
CHANGED
@@ -101,11 +101,12 @@
|
|
101 |
<select class="dropdown" name="model" id="model">
|
102 |
<optgroup label="GPT">
|
103 |
<option value="gpt-3.5-turbo">GPT-3.5-turbo</option>
|
|
|
104 |
<option value="gpt-3.5-turbo-poe">GPT-3.5-turbo-poe</option>
|
105 |
<option value="gpt-3.5-turbo-16k">GPT-3.5-turbo-16k</option>
|
106 |
<option value="gpt-3.5-turbo-16k-poe">GPT-3.5-turbo-16k-poe</option>
|
107 |
<option value="gpt-4">GPT-4</option>
|
108 |
-
<option value="gpt-4-
|
109 |
<option value="gpt-4-poe">GPT-4-poe</option>
|
110 |
<option value="gpt-4-32k">GPT-4-32k</option>
|
111 |
<option value="gpt-4-32k-poe">GPT-4-32k-poe</option>
|
|
|
101 |
<select class="dropdown" name="model" id="model">
|
102 |
<optgroup label="GPT">
|
103 |
<option value="gpt-3.5-turbo">GPT-3.5-turbo</option>
|
104 |
+
<option value="gpt-3.5-turbo-0301">GPT-3.5-turbo-0301</option>
|
105 |
<option value="gpt-3.5-turbo-poe">GPT-3.5-turbo-poe</option>
|
106 |
<option value="gpt-3.5-turbo-16k">GPT-3.5-turbo-16k</option>
|
107 |
<option value="gpt-3.5-turbo-16k-poe">GPT-3.5-turbo-16k-poe</option>
|
108 |
<option value="gpt-4">GPT-4</option>
|
109 |
+
<option value="gpt-4-0314">GPT-4-0314</option>
|
110 |
<option value="gpt-4-poe">GPT-4-poe</option>
|
111 |
<option value="gpt-4-32k">GPT-4-32k</option>
|
112 |
<option value="gpt-4-32k-poe">GPT-4-32k-poe</option>
|
g4f/Provider/Providers/Chimera.py
CHANGED
@@ -12,13 +12,14 @@ openai.api_base = "https://chimeragpt.adventblocks.cc/v1"
|
|
12 |
url = 'https://chimeragpt.adventblocks.cc/'
|
13 |
model = [
|
14 |
'gpt-3.5-turbo',
|
|
|
15 |
'gpt-3.5-turbo-poe',
|
16 |
'gpt-3.5-turbo-openai',
|
17 |
'gpt-3.5-turbo-16k',
|
18 |
'gpt-3.5-turbo-16k-openai',
|
19 |
'gpt-3.5-turbo-16k-poe',
|
20 |
'gpt-4',
|
21 |
-
'gpt-4-
|
22 |
'gpt-4-poe',
|
23 |
'gpt-4-32k',
|
24 |
'gpt-4-32k-poe',
|
|
|
12 |
url = 'https://chimeragpt.adventblocks.cc/'
|
13 |
model = [
|
14 |
'gpt-3.5-turbo',
|
15 |
+
'gpt-3.5-turbo-0301',
|
16 |
'gpt-3.5-turbo-poe',
|
17 |
'gpt-3.5-turbo-openai',
|
18 |
'gpt-3.5-turbo-16k',
|
19 |
'gpt-3.5-turbo-16k-openai',
|
20 |
'gpt-3.5-turbo-16k-poe',
|
21 |
'gpt-4',
|
22 |
+
'gpt-4-0314',
|
23 |
'gpt-4-poe',
|
24 |
'gpt-4-32k',
|
25 |
'gpt-4-32k-poe',
|
g4f/models.py
CHANGED
@@ -12,6 +12,11 @@ class Model:
|
|
12 |
base_provider: str = 'openai'
|
13 |
best_provider: Provider.Provider = Provider.Chimera
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
class gpt_35_turbo_poe:
|
16 |
name: str = 'gpt-3.5-turbo-poe'
|
17 |
base_provider: str = 'poe'
|
@@ -32,8 +37,8 @@ class Model:
|
|
32 |
base_provider: str = 'reversed'
|
33 |
best_provider: Provider.Provider = Provider.Chimera
|
34 |
|
35 |
-
class
|
36 |
-
name: str = 'gpt-4-
|
37 |
base_provider: str = 'reversed'
|
38 |
best_provider: Provider.Provider = Provider.Chimera
|
39 |
|
@@ -76,11 +81,12 @@ class Model:
|
|
76 |
class ModelUtils:
|
77 |
convert: dict = {
|
78 |
'gpt-3.5-turbo': Model.gpt_35_turbo,
|
|
|
79 |
'gpt-3.5-turbo-poe': Model.gpt_35_turbo_poe,
|
80 |
'gpt-3.5-turbo-16k': Model.gpt_35_turbo_16k,
|
81 |
'gpt-3.5-turbo-16k-poe': Model.gpt_35_turbo_16k_poe,
|
82 |
'gpt-4': Model.gpt_4,
|
83 |
-
'gpt-4-
|
84 |
'gpt-4-poe': Model.gpt_4_poe,
|
85 |
'gpt-4-32k': Model.gpt_4_32k,
|
86 |
'gpt-4-32k-poe': Model.gpt_4_32k_poe,
|
|
|
12 |
base_provider: str = 'openai'
|
13 |
best_provider: Provider.Provider = Provider.Chimera
|
14 |
|
15 |
+
class gpt_35_turbo_0301:
|
16 |
+
name: str = 'gpt-3.5-turbo-0301'
|
17 |
+
base_provider: str = 'openai'
|
18 |
+
best_provider: Provider.Provider = Provider.Chimera
|
19 |
+
|
20 |
class gpt_35_turbo_poe:
|
21 |
name: str = 'gpt-3.5-turbo-poe'
|
22 |
base_provider: str = 'poe'
|
|
|
37 |
base_provider: str = 'reversed'
|
38 |
best_provider: Provider.Provider = Provider.Chimera
|
39 |
|
40 |
+
class gpt_4_0314:
|
41 |
+
name: str = 'gpt-4-0314'
|
42 |
base_provider: str = 'reversed'
|
43 |
best_provider: Provider.Provider = Provider.Chimera
|
44 |
|
|
|
81 |
class ModelUtils:
|
82 |
convert: dict = {
|
83 |
'gpt-3.5-turbo': Model.gpt_35_turbo,
|
84 |
+
'gpt-3.5-turbo-0301': Model.gpt_35_turbo_0301,
|
85 |
'gpt-3.5-turbo-poe': Model.gpt_35_turbo_poe,
|
86 |
'gpt-3.5-turbo-16k': Model.gpt_35_turbo_16k,
|
87 |
'gpt-3.5-turbo-16k-poe': Model.gpt_35_turbo_16k_poe,
|
88 |
'gpt-4': Model.gpt_4,
|
89 |
+
'gpt-4-0314': Model.gpt_4_0314,
|
90 |
'gpt-4-poe': Model.gpt_4_poe,
|
91 |
'gpt-4-32k': Model.gpt_4_32k,
|
92 |
'gpt-4-32k-poe': Model.gpt_4_32k_poe,
|