monra commited on
Commit
b9f4100
1 Parent(s): c34ff7b

Update API Provider URL: Gravityengine

Browse files
g4f/Provider/Providers/Gravityengine.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  import json
4
  from ...typing import sha256, Dict, get_type_hints
5
 
6
- url = 'https://gpt4.gravityengine.cc'
7
  model = ['gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613']
8
  supports_stream = True
9
  needs_auth = False
 
3
  import json
4
  from ...typing import sha256, Dict, get_type_hints
5
 
6
+ url = 'https://gpt4.xunika.uk/'
7
  model = ['gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613']
8
  supports_stream = True
9
  needs_auth = False
g4f/models.py CHANGED
@@ -10,22 +10,22 @@ class Model:
10
  class gpt_35_turbo:
11
  name: str = 'gpt-3.5-turbo'
12
  base_provider: str = 'openai'
13
- best_provider: Provider.Provider = random.choice([Provider.DeepAi, Provider.Easychat])
14
 
15
  class gpt_35_turbo_0613:
16
  name: str = 'gpt-3.5-turbo-0613'
17
  base_provider: str = 'openai'
18
- best_provider: Provider.Provider = random.choice([Provider.Easychat])
19
 
20
  class gpt_35_turbo_16k_0613:
21
  name: str = 'gpt-3.5-turbo-16k-0613'
22
  base_provider: str = 'openai'
23
- best_provider: Provider.Provider = random.choice([Provider.Easychat])
24
 
25
  class gpt_35_turbo_16k:
26
  name: str = 'gpt-3.5-turbo-16k'
27
  base_provider: str = 'openai'
28
- best_provider: Provider.Provider = random.choice([Provider.Easychat])
29
 
30
  class gpt_4_dev:
31
  name: str = 'gpt-4-for-dev'
 
10
  class gpt_35_turbo:
11
  name: str = 'gpt-3.5-turbo'
12
  base_provider: str = 'openai'
13
+ best_provider: Provider.Provider = random.choice([Provider.DeepAi, Provider.Gravityengine])
14
 
15
  class gpt_35_turbo_0613:
16
  name: str = 'gpt-3.5-turbo-0613'
17
  base_provider: str = 'openai'
18
+ best_provider: Provider.Provider = Provider.Gravityengine
19
 
20
  class gpt_35_turbo_16k_0613:
21
  name: str = 'gpt-3.5-turbo-16k-0613'
22
  base_provider: str = 'openai'
23
+ best_provider: Provider.Provider = Provider.Gravityengine
24
 
25
  class gpt_35_turbo_16k:
26
  name: str = 'gpt-3.5-turbo-16k'
27
  base_provider: str = 'openai'
28
+ best_provider: Provider.Provider = Provider.Gravityengine
29
 
30
  class gpt_4_dev:
31
  name: str = 'gpt-4-for-dev'