t3nsor api is down
This commit is contained in:
@@ -53,6 +53,8 @@ class Completion:
|
|||||||
prompt: str = 'hello world',
|
prompt: str = 'hello world',
|
||||||
messages: list = []) -> T3nsorResponse:
|
messages: list = []) -> T3nsorResponse:
|
||||||
|
|
||||||
|
raise Exception('The t3nsor.tech API is currently down.')
|
||||||
|
|
||||||
response = post('https://www.t3nsor.tech/api/chat', json = Completion.model | {
|
response = post('https://www.t3nsor.tech/api/chat', json = Completion.model | {
|
||||||
'messages' : messages,
|
'messages' : messages,
|
||||||
'key' : '',
|
'key' : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user