t3nsor api down
This commit is contained in:
@@ -107,6 +107,8 @@ class StreamCompletion:
|
|||||||
prompt: str = 'hello world',
|
prompt: str = 'hello world',
|
||||||
messages: list = []) -> T3nsorResponse:
|
messages: list = []) -> T3nsorResponse:
|
||||||
|
|
||||||
|
print('t3nsor api is down, this may not work, refer to another module')
|
||||||
|
|
||||||
response = post('https://www.t3nsor.tech/api/chat', headers = headers, stream = True, json = Completion.model | {
|
response = post('https://www.t3nsor.tech/api/chat', headers = headers, stream = True, json = Completion.model | {
|
||||||
'messages' : messages,
|
'messages' : messages,
|
||||||
'key' : '',
|
'key' : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user