ngpt 3.4.3__tar.gz → 3.4.4__tar.gz
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-3.4.3 → ngpt-3.4.4}/PKG-INFO +1 -1
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/main.py +1 -1
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/__init__.py +2 -1
- {ngpt-3.4.3/ngpt/cli → ngpt-3.4.4/ngpt/cli/modes}/interactive.py +3 -3
- {ngpt-3.4.3 → ngpt-3.4.4}/pyproject.toml +1 -1
- {ngpt-3.4.3 → ngpt-3.4.4}/uv.lock +1 -1
- {ngpt-3.4.3 → ngpt-3.4.4}/.github/workflows/aur-publish.yml +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/.github/workflows/python-publish.yml +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/.gitignore +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/.python-version +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/COMMIT_GUIDELINES.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/CONTRIBUTING.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/LICENSE +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/PKGBUILD +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/README.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/CONTRIBUTING.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/LICENSE.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/README.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/_config.yml +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/README.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/cli.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/cli_config.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/client.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/config.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/api/logging.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/assets/css/style.scss +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/configuration.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/examples/README.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/examples/advanced.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/examples/basic.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/examples/cli_components.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/examples/integrations.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/installation.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/overview.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/README.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/cli_config.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/cli_framework.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/cli_usage.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/gitcommsg.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/docs/usage/library_usage.md +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/__init__.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/__main__.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/__init__.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/args.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/config_manager.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/formatters.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/chat.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/code.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/gitcommsg.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/rewrite.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/shell.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/modes/text.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/renderers.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/cli/ui.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/client.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/utils/__init__.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/utils/cli_config.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/utils/config.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/utils/log.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/ngpt/utils/web_search.py +0 -0
- {ngpt-3.4.3 → ngpt-3.4.4}/wiki.md +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ngpt
|
3
|
-
Version: 3.4.
|
3
|
+
Version: 3.4.4
|
4
4
|
Summary: Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, 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
|
@@ -18,7 +18,7 @@ from .. import __version__
|
|
18
18
|
from .formatters import COLORS
|
19
19
|
from .renderers import show_available_renderers
|
20
20
|
from .config_manager import check_config
|
21
|
-
from .interactive import interactive_chat_session
|
21
|
+
from .modes.interactive import interactive_chat_session
|
22
22
|
from .modes.chat import chat_mode
|
23
23
|
from .modes.code import code_mode
|
24
24
|
from .modes.shell import shell_mode
|
@@ -4,5 +4,6 @@ from .shell import shell_mode
|
|
4
4
|
from .text import text_mode
|
5
5
|
from .rewrite import rewrite_mode
|
6
6
|
from .gitcommsg import gitcommsg_mode
|
7
|
+
from .interactive import interactive_chat_session
|
7
8
|
|
8
|
-
__all__ = ['chat_mode', 'code_mode', 'shell_mode', 'text_mode', 'rewrite_mode', 'gitcommsg_mode']
|
9
|
+
__all__ = ['chat_mode', 'code_mode', 'shell_mode', 'text_mode', 'rewrite_mode', 'gitcommsg_mode', 'interactive_chat_session']
|
@@ -4,9 +4,9 @@ import traceback
|
|
4
4
|
import threading
|
5
5
|
import sys
|
6
6
|
import time
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
7
|
+
from ..formatters import COLORS
|
8
|
+
from ..renderers import prettify_markdown, prettify_streaming_markdown
|
9
|
+
from ...utils import enhance_prompt_with_web_search
|
10
10
|
|
11
11
|
# Optional imports for enhanced UI
|
12
12
|
try:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "ngpt"
|
3
|
-
version = "3.4.
|
3
|
+
version = "3.4.4"
|
4
4
|
description = "Swiss army knife for LLMs: powerful CLI, interactive chatbot, and flexible Python library. Works with OpenAI, Ollama, Groq, Claude, Gemini, and any OpenAI-compatible API."
|
5
5
|
authors = [
|
6
6
|
{name = "nazDridoy", email = "nazdridoy399@gmail.com"},
|
@@ -431,7 +431,7 @@ wheels = [
|
|
431
431
|
|
432
432
|
[[package]]
|
433
433
|
name = "ngpt"
|
434
|
-
version = "3.4.
|
434
|
+
version = "3.4.4"
|
435
435
|
source = { editable = "." }
|
436
436
|
dependencies = [
|
437
437
|
{ name = "duckduckgo-search", version = "7.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.9'" },
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|