summaryrefslogtreecommitdiffstats
path: root/t3nsor
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-11 13:16:23 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-11 13:16:23 +0200
commitb68da4c114beea649db26805a28facd53cc7f308 (patch)
treeb8df2e64b6bf7bc87d9fd940dc5582ca74da8c5a /t3nsor
parentquora (poe) test [gpt 4] (diff)
downloadgpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar.gz
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar.bz2
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar.lz
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar.xz
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.tar.zst
gpt4free-b68da4c114beea649db26805a28facd53cc7f308.zip
Diffstat (limited to '')
-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,