chat-console 0.4.2__tar.gz → 0.4.6__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.
- {chat_console-0.4.2/chat_console.egg-info → chat_console-0.4.6}/PKG-INFO +2 -2
- {chat_console-0.4.2 → chat_console-0.4.6}/README.md +1 -1
- {chat_console-0.4.2 → chat_console-0.4.6}/app/__init__.py +1 -1
- {chat_console-0.4.2 → chat_console-0.4.6}/app/api/ollama.py +1 -1
- chat_console-0.4.6/app/console_chat.py +816 -0
- chat_console-0.4.6/app/console_main.py +58 -0
- chat_console-0.4.6/app/console_utils.py +195 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/main.py +267 -136
- chat_console-0.4.6/app/ui/borders.py +154 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/chat_interface.py +84 -78
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/model_selector.py +11 -3
- chat_console-0.4.6/app/ui/styles.py +374 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/utils.py +22 -3
- {chat_console-0.4.2 → chat_console-0.4.6/chat_console.egg-info}/PKG-INFO +2 -2
- {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/SOURCES.txt +4 -0
- chat_console-0.4.6/chat_console.egg-info/entry_points.txt +5 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/setup.py +3 -1
- chat_console-0.4.2/app/ui/styles.py +0 -280
- chat_console-0.4.2/chat_console.egg-info/entry_points.txt +0 -3
- {chat_console-0.4.2 → chat_console-0.4.6}/LICENSE +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/api/__init__.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/api/anthropic.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/api/base.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/api/openai.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/config.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/database.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/models.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/__init__.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/chat_list.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/model_browser.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/search.py +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/dependency_links.txt +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/requires.txt +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/top_level.txt +0 -0
- {chat_console-0.4.2 → chat_console-0.4.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: chat-console
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.6
|
4
4
|
Summary: A command-line interface for chatting with LLMs, storing chats and (future) rag interactions
|
5
5
|
Home-page: https://github.com/wazacraftrfid/chat-console
|
6
6
|
Author: Johnathan Greenaway
|
@@ -29,7 +29,7 @@ Dynamic: requires-python
|
|
29
29
|
Dynamic: summary
|
30
30
|
|
31
31
|
|
32
|
-
|
32
|
+
# Chat CLI
|
33
33
|
|
34
34
|
A comprehensive command-line interface for chatting with various AI language models. This application allows you to interact with different LLM providers through an intuitive terminal-based interface.
|
35
35
|
|
@@ -165,7 +165,7 @@ class OllamaClient(BaseModelClient):
|
|
165
165
|
user_msg = next((msg for msg in messages if msg.get("role") == "user"), None)
|
166
166
|
if user_msg and "content" in user_msg:
|
167
167
|
# Create a direct prompt
|
168
|
-
prompt = "
|
168
|
+
prompt = "You must generate a short, descriptive title (maximum 40 characters) for this conversation. ONLY output the title with no additional text, no quotes, and no explanation. Do not start with phrases like 'Here's a title' or 'Title:'. RESPOND ONLY WITH THE TITLE TEXT for the following message:\n\n" + user_msg["content"]
|
169
169
|
debug_log(f"Created title generation prompt: {prompt[:100]}...")
|
170
170
|
return prompt
|
171
171
|
else:
|