Skip to content

Commit 85c874e

Browse files
committed
make askllmpy not print stack trace when ctrl-c pressed
1 parent 3c52738 commit 85c874e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/askllmpy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ language="python"
44
description="A CLI program that allows you to ask questions to deepseek"
55
[project]
66
requirements="""Write a program that takes a question from command line and send to deepseek with openai api and show answer on command line. The question is the whole command line, so arg1, arg2, ... would all be part of the question. Beautify the output since the output is markdown format. Also I want to see answer as fast as possible, can you stream the output with beautified format so it looks way cooler?
7+
When I press ctrl-C, don't print stack trace instead stop generate output and print "Goodbye!" and exit.
78
"""
89
specs="""
910
## spec 1

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ openai
22
requests
33
toml
44
flake8
5+
rich

0 commit comments

Comments
 (0)