ngpt 2.3.1__py3-none-any.whl → 2.3.2__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.py +8 -8
- {ngpt-2.3.1.dist-info → ngpt-2.3.2.dist-info}/METADATA +1 -1
- ngpt-2.3.2.dist-info/RECORD +9 -0
- ngpt-2.3.1.dist-info/RECORD +0 -9
- {ngpt-2.3.1.dist-info → ngpt-2.3.2.dist-info}/WHEEL +0 -0
- {ngpt-2.3.1.dist-info → ngpt-2.3.2.dist-info}/entry_points.txt +0 -0
- {ngpt-2.3.1.dist-info → ngpt-2.3.2.dist-info}/licenses/LICENSE +0 -0
ngpt/cli.py
CHANGED
@@ -823,9 +823,9 @@ def main():
|
|
823
823
|
style="class:input-area",
|
824
824
|
multiline=True,
|
825
825
|
wrap_lines=True,
|
826
|
-
width=term_width -
|
827
|
-
height=min(
|
828
|
-
prompt=HTML("<ansicyan
|
826
|
+
width=term_width - 10,
|
827
|
+
height=min(15, term_height - 10),
|
828
|
+
prompt=HTML("<ansicyan><b>> </b></ansicyan>"),
|
829
829
|
scrollbar=True,
|
830
830
|
focus_on_click=True,
|
831
831
|
lexer=None,
|
@@ -834,7 +834,7 @@ def main():
|
|
834
834
|
|
835
835
|
# Create a title bar
|
836
836
|
title_bar = FormattedTextControl(
|
837
|
-
HTML("<
|
837
|
+
HTML("<ansicyan><b> nGPT Multi-line Editor </b></ansicyan>")
|
838
838
|
)
|
839
839
|
|
840
840
|
# Create a status bar with key bindings info
|
@@ -846,17 +846,17 @@ def main():
|
|
846
846
|
layout = Layout(
|
847
847
|
HSplit([
|
848
848
|
Window(title_bar, height=1),
|
849
|
-
Window(height=1, char="
|
849
|
+
Window(height=1, char="─", style="class:separator"),
|
850
850
|
text_area,
|
851
|
-
Window(height=1, char="
|
851
|
+
Window(height=1, char="─", style="class:separator"),
|
852
852
|
Window(status_bar, height=1),
|
853
853
|
])
|
854
854
|
)
|
855
855
|
|
856
856
|
# Create a style
|
857
857
|
style = Style.from_dict({
|
858
|
-
"separator": "
|
859
|
-
"input-area": "
|
858
|
+
"separator": "ansicyan",
|
859
|
+
"input-area": "fg:ansiwhite",
|
860
860
|
"cursor": "bg:ansiwhite fg:ansiblack",
|
861
861
|
})
|
862
862
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 2.3.
|
3
|
+
Version: 2.3.2
|
4
4
|
Summary: A lightweight Python CLI and library for interacting with OpenAI-compatible APIs, supporting both official and self-hosted LLM endpoints.
|
5
5
|
Project-URL: Homepage, https://github.com/nazdridoy/ngpt
|
6
6
|
Project-URL: Repository, https://github.com/nazdridoy/ngpt
|
@@ -0,0 +1,9 @@
|
|
1
|
+
ngpt/__init__.py,sha256=ehInP9w0MZlS1vZ1g6Cm4YE1ftmgF72CnEddQ3Le9n4,368
|
2
|
+
ngpt/cli.py,sha256=Or59XajZRf1Gl4zExygLIeIbwsJTkT_YLK_23ViwW2k,43230
|
3
|
+
ngpt/client.py,sha256=75xmzO7e9wQ7y_LzZCacg3mkZdheewcBxB6moPftqYw,13067
|
4
|
+
ngpt/config.py,sha256=BF0G3QeiPma8l7EQyc37bR7LWZog7FHJQNe7uj9cr4w,6896
|
5
|
+
ngpt-2.3.2.dist-info/METADATA,sha256=PnZr050walUIcVAWQz_xVd_yEK8ZA7UlKHYZEX5k9hI,13535
|
6
|
+
ngpt-2.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
+
ngpt-2.3.2.dist-info/entry_points.txt,sha256=1cnAMujyy34DlOahrJg19lePSnb08bLbkUs_kVerqdk,39
|
8
|
+
ngpt-2.3.2.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
9
|
+
ngpt-2.3.2.dist-info/RECORD,,
|
ngpt-2.3.1.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
ngpt/__init__.py,sha256=ehInP9w0MZlS1vZ1g6Cm4YE1ftmgF72CnEddQ3Le9n4,368
|
2
|
-
ngpt/cli.py,sha256=y3LzVYJnlAt570dFniUchPa3oUuD4MaDbGl6fGfH_ac,43255
|
3
|
-
ngpt/client.py,sha256=75xmzO7e9wQ7y_LzZCacg3mkZdheewcBxB6moPftqYw,13067
|
4
|
-
ngpt/config.py,sha256=BF0G3QeiPma8l7EQyc37bR7LWZog7FHJQNe7uj9cr4w,6896
|
5
|
-
ngpt-2.3.1.dist-info/METADATA,sha256=M7YPXzIzpSJRfHI8QKt4VvDmgoDaT2WY3P6tk_DRrtg,13535
|
6
|
-
ngpt-2.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
-
ngpt-2.3.1.dist-info/entry_points.txt,sha256=1cnAMujyy34DlOahrJg19lePSnb08bLbkUs_kVerqdk,39
|
8
|
-
ngpt-2.3.1.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
9
|
-
ngpt-2.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|