summaryrefslogtreecommitdiffstats
path: root/t3nsor
diff options
context:
space:
mode:
Diffstat (limited to 't3nsor')
-rw-r--r--t3nsor/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/t3nsor/__init__.py b/t3nsor/__init__.py
index f8d12055..aec45dcf 100644
--- a/t3nsor/__init__.py
+++ b/t3nsor/__init__.py
@@ -106,6 +106,8 @@ class StreamCompletion:
def create(
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,
@@ -132,4 +134,4 @@ class StreamCompletion:
'completion_chars' : len(chunk.decode()),
'total_chars' : len(prompt) + len(chunk.decode())
}
- }) \ No newline at end of file
+ })