weiwei1392 commited on
Commit
544fec9
·
1 Parent(s): eafc886

change forward key

Browse files
Files changed (1) hide show
  1. llm.py +2 -2
llm.py CHANGED
@@ -50,7 +50,7 @@ class OpenAI3(LLM):
50
  model: object = None
51
  history_len: int = 10
52
  history = []
53
- HEADERS = {'Content-Type': 'application/json', 'Authorization': 'Bearer fk198719-Pmvv22OqZiovaxRq6YxCzkTcd6UVVX5O'}
54
  URL ='https://openai.api2d.net/v1/chat/completions'
55
  MODEL_NAME = "gpt-3.5-turbo"
56
 
@@ -94,7 +94,7 @@ class OpenAI4(LLM):
94
  model: object = None
95
  history_len: int = 10
96
  history = []
97
- HEADERS = {'Content-Type': 'application/json', 'Authorization': 'Bearer fk198719-Pmvv22OqZiovaxRq6YxCzkTcd6UVVX5O'}
98
  URL ='https://openai.api2d.net/v1/chat/completions'
99
  MODEL_NAME = "gpt-4"
100
 
 
50
  model: object = None
51
  history_len: int = 10
52
  history = []
53
+ HEADERS = {'Content-Type': 'application/json', 'Authorization': 'Bearer fk198719-pHAOCyaUXohoZBl0KfRvYf4AuHhWm8pm'}
54
  URL ='https://openai.api2d.net/v1/chat/completions'
55
  MODEL_NAME = "gpt-3.5-turbo"
56
 
 
94
  model: object = None
95
  history_len: int = 10
96
  history = []
97
+ HEADERS = {'Content-Type': 'application/json', 'Authorization': 'Bearer fk198719-pHAOCyaUXohoZBl0KfRvYf4AuHhWm8pm'}
98
  URL ='https://openai.api2d.net/v1/chat/completions'
99
  MODEL_NAME = "gpt-4"
100