File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -254,9 +254,9 @@ def main() -> None:
254
254
npc = npc_name ,
255
255
attachments = attachments ,
256
256
)
257
+ str_output = ""
257
258
258
259
if NPCSH_STREAM_OUTPUT :
259
- str_output = ""
260
260
for chunk in output :
261
261
if provider == "anthropic" :
262
262
if chunk .type == "content_block_delta" :
@@ -285,6 +285,7 @@ def main() -> None:
285
285
str_output += chunk_content
286
286
print (chunk_content , end = "" )
287
287
print ("\n " )
288
+
288
289
if len (str_output ) > 0 :
289
290
output = str_output
290
291
save_conversation_message (
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def get_setup_message():
57
57
58
58
setup (
59
59
name = "npcsh" ,
60
- version = "0.3.13 " ,
60
+ version = "0.3.14 " ,
61
61
packages = find_packages (exclude = ["tests*" ]),
62
62
install_requires = [
63
63
"redis" ,
You can’t perform that action at this time.
0 commit comments