t3nsor api is down

This commit is contained in:
t.me/xtekky 2023-04-11 12:16:23 +01:00
parent c9e6f23c17
commit b68da4c114

View File

@ -52,6 +52,8 @@ class Completion:
def create(
prompt: str = 'hello world',
messages: list = []) -> T3nsorResponse:
raise Exception('The t3nsor.tech API is currently down.')
response = post('https://www.t3nsor.tech/api/chat', json = Completion.model | {
'messages' : messages,