コミットを比較
2
コミット
| 作成者 | SHA1 | 日付 | |
|---|---|---|---|
|
|
e44197499d | ||
|
|
1f75763038 |
@@ -5,4 +5,3 @@ OPENAI_ORGANISATION: str = 'org-XXXXXXXXXXXXXXXXXXXXXXXX'
|
|||||||
|
|
||||||
# API Key
|
# API Key
|
||||||
OPENAI_API_KEY: str = 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
OPENAI_API_KEY: str = 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
||||||
|
|
||||||
|
|||||||
@@ -266,10 +266,7 @@ class Talk:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
return (openai.chat.completions.create (
|
return (openai.chat.completions.create (
|
||||||
model = ('gpt-4o'
|
model = 'gpt-6-luna',
|
||||||
if any (type (e['content']) is list
|
|
||||||
for e in messages)
|
|
||||||
else 'gpt-3.5-turbo'),
|
|
||||||
messages = messages)
|
messages = messages)
|
||||||
.choices[0].message)
|
.choices[0].message)
|
||||||
except:
|
except:
|
||||||
|
|||||||
新しいイシューから参照
ユーザーをブロックする