summaryrefslogtreecommitdiffstats
path: root/g4f/.v1/testing/t3nsor_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/.v1/testing/t3nsor_test.py')
-rw-r--r--g4f/.v1/testing/t3nsor_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/g4f/.v1/testing/t3nsor_test.py b/g4f/.v1/testing/t3nsor_test.py
new file mode 100644
index 00000000..6d36400d
--- /dev/null
+++ b/g4f/.v1/testing/t3nsor_test.py
@@ -0,0 +1,4 @@
+import t3nsor
+
+for response in t3nsor.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]):
+ print(response.completion.choices[0].text)