t3nsor api is down
This commit is contained in:
parent
c9e6f23c17
commit
b68da4c114
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ class Completion:
|
||||||
def create(
|
def create(
|
||||||
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,
|
||||||
|
|
Loading…
Reference in a new issue