summaryrefslogtreecommitdiffstats
path: root/testing/t3nsor_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/t3nsor_test.py')
-rw-r--r--testing/t3nsor_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/t3nsor_test.py b/testing/t3nsor_test.py
new file mode 100644
index 00000000..38e047b9
--- /dev/null
+++ b/testing/t3nsor_test.py
@@ -0,0 +1,7 @@
+import t3nsor
+
+for response in t3nsor.StreamCompletion.create(
+ prompt = 'write python code to reverse a string',
+ messages = []):
+
+ print(response.completion.choices[0].text) \ No newline at end of file