ngpt 2.3.2__py3-none-any.whl → 2.3.3__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 +6 -2
- {ngpt-2.3.2.dist-info → ngpt-2.3.3.dist-info}/METADATA +1 -1
- ngpt-2.3.3.dist-info/RECORD +9 -0
- ngpt-2.3.2.dist-info/RECORD +0 -9
- {ngpt-2.3.2.dist-info → ngpt-2.3.3.dist-info}/WHEEL +0 -0
- {ngpt-2.3.2.dist-info → ngpt-2.3.3.dist-info}/entry_points.txt +0 -0
- {ngpt-2.3.2.dist-info → ngpt-2.3.3.dist-info}/licenses/LICENSE +0 -0
ngpt/cli.py
CHANGED
@@ -492,7 +492,7 @@ def interactive_chat_session(client, web_search=False, no_stream=False, temperat
|
|
492
492
|
web_search=web_search,
|
493
493
|
temperature=temperature,
|
494
494
|
top_p=top_p,
|
495
|
-
|
495
|
+
max_tokens=max_length
|
496
496
|
)
|
497
497
|
|
498
498
|
# Add AI response to conversation history
|
@@ -528,7 +528,11 @@ def interactive_chat_session(client, web_search=False, no_stream=False, temperat
|
|
528
528
|
def main():
|
529
529
|
# Colorize description - use a shorter description to avoid line wrapping issues
|
530
530
|
description = f"{COLORS['cyan']}{COLORS['bold']}nGPT{COLORS['reset']} - Interact with AI language models via OpenAI-compatible APIs"
|
531
|
-
|
531
|
+
|
532
|
+
# Minimalist, clean epilog design
|
533
|
+
epilog = f"\n{COLORS['yellow']}nGPT {COLORS['bold']}v{__version__}{COLORS['reset']} • {COLORS['green']}Docs: {COLORS['bold']}https://nazdridoy.github.io/ngpt/usage/cli_usage.html{COLORS['reset']}"
|
534
|
+
|
535
|
+
parser = argparse.ArgumentParser(description=description, formatter_class=ColoredHelpFormatter, epilog=epilog)
|
532
536
|
|
533
537
|
# Add custom error method with color
|
534
538
|
original_error = parser.error
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 2.3.
|
3
|
+
Version: 2.3.3
|
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=9sQqBUxHQaiaI9QZ7F63Wky19iJIfEk5HmboqxQFpR8,43498
|
3
|
+
ngpt/client.py,sha256=75xmzO7e9wQ7y_LzZCacg3mkZdheewcBxB6moPftqYw,13067
|
4
|
+
ngpt/config.py,sha256=BF0G3QeiPma8l7EQyc37bR7LWZog7FHJQNe7uj9cr4w,6896
|
5
|
+
ngpt-2.3.3.dist-info/METADATA,sha256=pVnJjrQlmXNwdzCyohq-uP9al4GptzXc1nhPwI8ph7Y,13535
|
6
|
+
ngpt-2.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
7
|
+
ngpt-2.3.3.dist-info/entry_points.txt,sha256=1cnAMujyy34DlOahrJg19lePSnb08bLbkUs_kVerqdk,39
|
8
|
+
ngpt-2.3.3.dist-info/licenses/LICENSE,sha256=mQkpWoADxbHqE0HRefYLJdm7OpdrXBr3vNv5bZ8w72M,1065
|
9
|
+
ngpt-2.3.3.dist-info/RECORD,,
|
ngpt-2.3.2.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
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,,
|
File without changes
|
File without changes
|
File without changes
|