summaryrefslogtreecommitdiffstats
path: root/t3nsor/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 't3nsor/__init__.py')
-rw-r--r--t3nsor/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/t3nsor/__init__.py b/t3nsor/__init__.py
index 9079f9d9..255fea4f 100644
--- a/t3nsor/__init__.py
+++ b/t3nsor/__init__.py
@@ -52,6 +52,8 @@ class Completion:
def create(
prompt: str = 'hello world',
messages: list = []) -> T3nsorResponse:
+
+ raise Exception('The t3nsor.tech API is currently down.')
response = post('https://www.t3nsor.tech/api/chat', json = Completion.model | {
'messages' : messages,