1
0
Fork 0

t3nsor api down

This commit is contained in:
t.me/xtekky 2023-04-19 13:41:15 +01:00 committed by GitHub
parent 9f5552b1e3
commit e6289bf53a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,8 @@ class StreamCompletion:
prompt: str = 'hello world',
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 | {
'messages' : messages,
'key' : '',