Commit 0636c37d authored by Travis Fischer's avatar Travis Fischer

parent efbd1146
import dotenv from 'dotenv-safe' import dotenv from 'dotenv-safe'
import { oraPromise } from 'ora'
import { ChatGPTAPIBrowser } from '../src' import { ChatGPTAPIBrowser } from '../src'
...@@ -28,7 +27,6 @@ async function main() { ...@@ -28,7 +27,6 @@ async function main() {
'Write a python version of bubble sort. Do not include example usage.' 'Write a python version of bubble sort. Do not include example usage.'
console.log(prompt) console.log(prompt)
const res = await api.sendMessage(prompt, { const res = await api.sendMessage(prompt, {
onProgress: (partialResponse) => { onProgress: (partialResponse) => {
console.log('p') console.log('p')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment