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.
Files changed (35) hide show
  1. {chat_console-0.4.2/chat_console.egg-info → chat_console-0.4.6}/PKG-INFO +2 -2
  2. {chat_console-0.4.2 → chat_console-0.4.6}/README.md +1 -1
  3. {chat_console-0.4.2 → chat_console-0.4.6}/app/__init__.py +1 -1
  4. {chat_console-0.4.2 → chat_console-0.4.6}/app/api/ollama.py +1 -1
  5. chat_console-0.4.6/app/console_chat.py +816 -0
  6. chat_console-0.4.6/app/console_main.py +58 -0
  7. chat_console-0.4.6/app/console_utils.py +195 -0
  8. {chat_console-0.4.2 → chat_console-0.4.6}/app/main.py +267 -136
  9. chat_console-0.4.6/app/ui/borders.py +154 -0
  10. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/chat_interface.py +84 -78
  11. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/model_selector.py +11 -3
  12. chat_console-0.4.6/app/ui/styles.py +374 -0
  13. {chat_console-0.4.2 → chat_console-0.4.6}/app/utils.py +22 -3
  14. {chat_console-0.4.2 → chat_console-0.4.6/chat_console.egg-info}/PKG-INFO +2 -2
  15. {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/SOURCES.txt +4 -0
  16. chat_console-0.4.6/chat_console.egg-info/entry_points.txt +5 -0
  17. {chat_console-0.4.2 → chat_console-0.4.6}/setup.py +3 -1
  18. chat_console-0.4.2/app/ui/styles.py +0 -280
  19. chat_console-0.4.2/chat_console.egg-info/entry_points.txt +0 -3
  20. {chat_console-0.4.2 → chat_console-0.4.6}/LICENSE +0 -0
  21. {chat_console-0.4.2 → chat_console-0.4.6}/app/api/__init__.py +0 -0
  22. {chat_console-0.4.2 → chat_console-0.4.6}/app/api/anthropic.py +0 -0
  23. {chat_console-0.4.2 → chat_console-0.4.6}/app/api/base.py +0 -0
  24. {chat_console-0.4.2 → chat_console-0.4.6}/app/api/openai.py +0 -0
  25. {chat_console-0.4.2 → chat_console-0.4.6}/app/config.py +0 -0
  26. {chat_console-0.4.2 → chat_console-0.4.6}/app/database.py +0 -0
  27. {chat_console-0.4.2 → chat_console-0.4.6}/app/models.py +0 -0
  28. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/__init__.py +0 -0
  29. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/chat_list.py +0 -0
  30. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/model_browser.py +0 -0
  31. {chat_console-0.4.2 → chat_console-0.4.6}/app/ui/search.py +0 -0
  32. {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/dependency_links.txt +0 -0
  33. {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/requires.txt +0 -0
  34. {chat_console-0.4.2 → chat_console-0.4.6}/chat_console.egg-info/top_level.txt +0 -0
  35. {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.2
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
- c# Chat CLI
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
 
@@ -1,5 +1,5 @@
1
1
 
2
- c# Chat CLI
2
+ # Chat CLI
3
3
 
4
4
  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.
5
5
 
@@ -3,4 +3,4 @@ Chat CLI
3
3
  A command-line interface for chatting with various LLM providers like ChatGPT and Claude.
4
4
  """
5
5
 
6
- __version__ = "0.4.2"
6
+ __version__ = "0.4.6"
@@ -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 = "Generate a short descriptive title (maximum 40 characters) for this conversation. ONLY RESPOND WITH THE TITLE FOR THE FOLLOWING MESSAGE:\n\n" + user_msg["content"]
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: