Browse Source

すべてのエラーを握り潰すやぅに

othello
みてるぞ 7 months ago
parent
commit
51a52c9ba8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      talk.py

+ 1
- 1
talk.py View File

@@ -212,7 +212,7 @@ class Talk:
return openai.chat.completions.create (
model = 'gpt-3.5-turbo',
messages = messages).choices[0].message
except openai.AuthenticationError:
except:
return None




Loading…
Cancel
Save