ngpt 2.16.5__py3-none-any.whl → 2.16.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ngpt/cli/modes/rewrite.py +0 -2
- ngpt/cli/modes/text.py +0 -2
- ngpt/cli/renderers.py +9 -3
- {ngpt-2.16.5.dist-info → ngpt-2.16.6.dist-info}/METADATA +1 -1
- {ngpt-2.16.5.dist-info → ngpt-2.16.6.dist-info}/RECORD +8 -8
- {ngpt-2.16.5.dist-info → ngpt-2.16.6.dist-info}/WHEEL +0 -0
- {ngpt-2.16.5.dist-info → ngpt-2.16.6.dist-info}/entry_points.txt +0 -0
- {ngpt-2.16.5.dist-info → ngpt-2.16.6.dist-info}/licenses/LICENSE +0 -0
ngpt/cli/modes/rewrite.py
CHANGED
@@ -131,8 +131,6 @@ def rewrite_mode(client, args, logger=None):
|
|
131
131
|
{"role": "user", "content": input_text}
|
132
132
|
]
|
133
133
|
|
134
|
-
print("\nSubmission successful. Waiting for response...")
|
135
|
-
|
136
134
|
# Log the messages if logging is enabled
|
137
135
|
if logger:
|
138
136
|
logger.log("system", REWRITE_SYSTEM_PROMPT)
|
ngpt/cli/modes/text.py
CHANGED
ngpt/cli/renderers.py
CHANGED
@@ -239,8 +239,14 @@ def prettify_streaming_markdown(renderer='rich', is_interactive=False, header_te
|
|
239
239
|
else:
|
240
240
|
md_obj = Markdown("")
|
241
241
|
|
242
|
-
# Initialize the Live display with
|
243
|
-
live = Live(
|
242
|
+
# Initialize the Live display with vertical overflow handling
|
243
|
+
live = Live(
|
244
|
+
md_obj,
|
245
|
+
console=console,
|
246
|
+
refresh_per_second=10,
|
247
|
+
auto_refresh=False,
|
248
|
+
vertical_overflow="visible" # Attempt to make overflow visible
|
249
|
+
)
|
244
250
|
|
245
251
|
# Track if this is the first content update
|
246
252
|
first_update = True
|
@@ -259,7 +265,7 @@ def prettify_streaming_markdown(renderer='rich', is_interactive=False, header_te
|
|
259
265
|
sys.stdout.flush()
|
260
266
|
live.start()
|
261
267
|
|
262
|
-
# Update content
|
268
|
+
# Update content in live display
|
263
269
|
if is_interactive and header_text:
|
264
270
|
# Update the panel content
|
265
271
|
md_obj.renderable = Markdown(content)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 2.16.
|
3
|
+
Version: 2.16.6
|
4
4
|
Summary: Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, and any OpenAI-compatible API.
|
5
5
|
Project-URL: Homepage, https://github.com/nazdridoy/ngpt
|
6
6
|
Project-URL: Repository, https://github.com/nazdridoy/ngpt
|
@@ -7,21 +7,21 @@ ngpt/cli/config_manager.py,sha256=NQQcWnjUppAAd0s0p9YAf8EyKS1ex5-0EB4DvKdB4dk,36
|
|
7
7
|
ngpt/cli/formatters.py,sha256=HBYGlx_7eoAKyzfy0Vq5L0yn8yVKjngqYBukMmXCcz0,9401
|
8
8
|
ngpt/cli/interactive.py,sha256=oLflfYVSX_NdYb5D8BsEeYr2m_6yWw06Rw-BS5tLqkI,12923
|
9
9
|
ngpt/cli/main.py,sha256=6GO4r9e9su7FFukj9JeVmJt1bJsqPOJBj6xo3iyMZXU,28911
|
10
|
-
ngpt/cli/renderers.py,sha256=
|
10
|
+
ngpt/cli/renderers.py,sha256=yYt3b_cWUYckfgLQ1wkEiQCnq5v5m7hfn5PWxHJzR9Y,12422
|
11
11
|
ngpt/cli/ui.py,sha256=m8qtd4cCSHBGHPUlHVdBEfun1G1Se4vLKTSgnS7QOKE,6775
|
12
12
|
ngpt/cli/modes/__init__.py,sha256=R3aO662RIzWEOvr3moTrEI8Tpg0zDDyMGGh1-OxiRgM,285
|
13
13
|
ngpt/cli/modes/chat.py,sha256=-g8hMHkn9Dv3iGFZvbXXFQwG8KsXEgngr6Si9AUdQXE,5701
|
14
14
|
ngpt/cli/modes/code.py,sha256=1EeiooyNe1jvTyNu6r0J9xY34QXb2uBQKPeNca-DrRI,5734
|
15
15
|
ngpt/cli/modes/gitcommsg.py,sha256=Bhgg9UArrfRUwosgVlNLUB7i1B8j-1ngpkmCm5iZBkM,46786
|
16
|
-
ngpt/cli/modes/rewrite.py,sha256=
|
16
|
+
ngpt/cli/modes/rewrite.py,sha256=iEMn6i6cuaxOiKq886Lsh961riCmPj5K1mXVQeT2Z7k,10112
|
17
17
|
ngpt/cli/modes/shell.py,sha256=QkprnOxMMTg2v5DIwcofDnnr3JPNfuk-YgSQaae5Xps,3311
|
18
|
-
ngpt/cli/modes/text.py,sha256=
|
18
|
+
ngpt/cli/modes/text.py,sha256=z08xaW2r0XzyunUzBhwZKqnwPjyRol_CSazjLygmLRs,4514
|
19
19
|
ngpt/utils/__init__.py,sha256=E46suk2-QgYBI0Qrs6WXOajOUOebF3ETAFY7ah8DTWs,942
|
20
20
|
ngpt/utils/cli_config.py,sha256=tQxR3a2iXyc5TfRBPQHSUXPInO2dv_zTPGn04eWfmoo,11285
|
21
21
|
ngpt/utils/config.py,sha256=WYOk_b1eiYjo6hpV3pfXr2RjqhOnmKqwZwKid1T41I4,10363
|
22
22
|
ngpt/utils/log.py,sha256=f1jg2iFo35PAmsarH8FVL_62plq4VXH0Mu2QiP6RJGw,15934
|
23
|
-
ngpt-2.16.
|
24
|
-
ngpt-2.16.
|
25
|
-
ngpt-2.16.
|
26
|
-
ngpt-2.16.
|
27
|
-
ngpt-2.16.
|
23
|
+
ngpt-2.16.6.dist-info/METADATA,sha256=DayL8rMlMWdplumfhcy9agLbWwXVQxGQv0kjOhGu14k,24938
|
24
|
+
ngpt-2.16.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
25
|
+
ngpt-2.16.6.dist-info/entry_points.txt,sha256=SqAAvLhMrsEpkIr4YFRdUeyuXQ9o0IBCeYgE6AVojoI,44
|
26
|
+
ngpt-2.16.6.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
27
|
+
ngpt-2.16.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|