chat-console 0.3.94__tar.gz → 0.3.95__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 (29) hide show
  1. {chat_console-0.3.94/chat_console.egg-info → chat_console-0.3.95}/PKG-INFO +1 -1
  2. {chat_console-0.3.94 → chat_console-0.3.95}/app/__init__.py +1 -1
  3. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/chat_interface.py +4 -3
  4. {chat_console-0.3.94 → chat_console-0.3.95}/app/utils.py +3 -1
  5. {chat_console-0.3.94 → chat_console-0.3.95/chat_console.egg-info}/PKG-INFO +1 -1
  6. {chat_console-0.3.94 → chat_console-0.3.95}/LICENSE +0 -0
  7. {chat_console-0.3.94 → chat_console-0.3.95}/README.md +0 -0
  8. {chat_console-0.3.94 → chat_console-0.3.95}/app/api/__init__.py +0 -0
  9. {chat_console-0.3.94 → chat_console-0.3.95}/app/api/anthropic.py +0 -0
  10. {chat_console-0.3.94 → chat_console-0.3.95}/app/api/base.py +0 -0
  11. {chat_console-0.3.94 → chat_console-0.3.95}/app/api/ollama.py +0 -0
  12. {chat_console-0.3.94 → chat_console-0.3.95}/app/api/openai.py +0 -0
  13. {chat_console-0.3.94 → chat_console-0.3.95}/app/config.py +0 -0
  14. {chat_console-0.3.94 → chat_console-0.3.95}/app/database.py +0 -0
  15. {chat_console-0.3.94 → chat_console-0.3.95}/app/main.py +0 -0
  16. {chat_console-0.3.94 → chat_console-0.3.95}/app/models.py +0 -0
  17. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/__init__.py +0 -0
  18. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/chat_list.py +0 -0
  19. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/model_browser.py +0 -0
  20. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/model_selector.py +0 -0
  21. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/search.py +0 -0
  22. {chat_console-0.3.94 → chat_console-0.3.95}/app/ui/styles.py +0 -0
  23. {chat_console-0.3.94 → chat_console-0.3.95}/chat_console.egg-info/SOURCES.txt +0 -0
  24. {chat_console-0.3.94 → chat_console-0.3.95}/chat_console.egg-info/dependency_links.txt +0 -0
  25. {chat_console-0.3.94 → chat_console-0.3.95}/chat_console.egg-info/entry_points.txt +0 -0
  26. {chat_console-0.3.94 → chat_console-0.3.95}/chat_console.egg-info/requires.txt +0 -0
  27. {chat_console-0.3.94 → chat_console-0.3.95}/chat_console.egg-info/top_level.txt +0 -0
  28. {chat_console-0.3.94 → chat_console-0.3.95}/setup.cfg +0 -0
  29. {chat_console-0.3.94 → chat_console-0.3.95}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chat-console
3
- Version: 0.3.94
3
+ Version: 0.3.95
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
@@ -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.3.94"
6
+ __version__ = "0.3.95"
@@ -136,7 +136,7 @@ class MessageDisplay(Static): # Inherit from Static instead of RichLog
136
136
  # Force a complete replacement
137
137
  self.message.content = content
138
138
  formatted_content = self._format_content(content)
139
- self.update(formatted_content, refresh=True)
139
+ self.update(formatted_content)
140
140
 
141
141
  # Force app-level refresh
142
142
  try:
@@ -153,9 +153,10 @@ class MessageDisplay(Static): # Inherit from Static instead of RichLog
153
153
  # For all other updates - ALWAYS update
154
154
  self.message.content = content
155
155
  formatted_content = self._format_content(content)
156
- self.update(formatted_content, refresh=True)
156
+ # Ensure the update call doesn't have refresh=True
157
+ self.update(formatted_content)
157
158
 
158
- # Force refresh
159
+ # Force refresh using app.refresh() instead of passing to update()
159
160
  try:
160
161
  if self.app:
161
162
  self.app.refresh(layout=True)
@@ -753,7 +753,9 @@ def resolve_model_id(model_id_or_name: str) -> str:
753
753
  "04-turbo": "gpt-4-turbo",
754
754
  "035": "gpt-3.5-turbo",
755
755
  "35-turbo": "gpt-3.5-turbo",
756
- "35": "gpt-3.5-turbo"
756
+ "35": "gpt-3.5-turbo",
757
+ "4.1-mini": "gpt-4.1-mini", # Add support for gpt-4.1-mini
758
+ "4.1": "gpt-4.1" # Add support for gpt-4.1
757
759
  }
758
760
 
759
761
  if input_lower in openai_model_aliases:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chat-console
3
- Version: 0.3.94
3
+ Version: 0.3.95
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
File without changes
File without changes
File without changes
File without changes
File without changes