Skip to content

Commit

Permalink
更新多个gpt3.5的模型
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikaros-521 committed Dec 23, 2023
1 parent 9c90b35 commit affa61c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_chatgpt/api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from openai import OpenAI
client = OpenAI(api_key="sk-")

for data in client.models.list().data:
print(data)
3 changes: 3 additions & 0 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,8 +1387,11 @@ def common_textarea_handle(content):
chatgpt_models = ["gpt-3.5-turbo",
"gpt-3.5-turbo-0301",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-1106",
"gpt-3.5-turbo-16k",
"gpt-3.5-turbo-16k-0613",
"gpt-3.5-turbo-instruct",
"gpt-3.5-turbo-instruct-0914",
"gpt-4",
"gpt-4-0314",
"gpt-4-0613",
Expand Down

0 comments on commit affa61c

Please sign in to comment.