File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : test upload
2
2
3
3
test :
4
- rm -rf testenv/ ; python3 -m venv testenv ; source testenv/bin/activate.csh ; pip install -e . ; rehash ; gptline
4
+ rm -rf testenv/ ; python3 -m venv testenv ; source testenv/bin/activate.csh ; pip install -e . ; testenv/bin/ gptline
5
5
6
6
upload :
7
7
rm -f dist/*
Original file line number Diff line number Diff line change 5
5
6
6
setup (
7
7
name = "gptline" ,
8
- version = "1.0.1 " ,
8
+ version = "1.0.2 " ,
9
9
packages = ["src" ],
10
10
install_requires = requirements ,
11
11
entry_points = {
Original file line number Diff line number Diff line change 19
19
print ("Set the environment variable OPENAI_KEY to your api secret key" )
20
20
exit (1 )
21
21
22
- def chat_loop ():
22
+ def main ():
23
23
tasks = []
24
24
chat_db = ChatDB ()
25
25
current_chat_id = None
@@ -158,4 +158,3 @@ def new_chat():
158
158
chat_db .set_chat_name (chat_id , name )
159
159
tasks = [task for task in tasks if not task .done ()]
160
160
161
- chat_loop ()
You can’t perform that action at this time.
0 commit comments