From b68da4c114beea649db26805a28facd53cc7f308 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Tue, 11 Apr 2023 12:16:23 +0100 Subject: [PATCH] t3nsor api is down --- t3nsor/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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,