|
@@ -37,7 +37,8 @@ def request_gpt(prompt):
|
|
|
while retry_count < config_.RETRY_MAX_COUNT:
|
|
|
retry_count += 1
|
|
|
try:
|
|
|
- response = requests.post(url=config_.GPT_URL, json={'content': prompt, 'auth': config_.GPT_OPENAI_API_KEY})
|
|
|
+ # response = requests.post(url=config_.GPT_URL, json={'content': prompt, 'auth': config_.GPT_OPENAI_API_KEY})
|
|
|
+ response = requests.post(url=config_.GPT_URL, json={'content': prompt})
|
|
|
# print(response.json())
|
|
|
# print(response.json()['choices'][0]['message']['content'])
|
|
|
# print('\n')
|