mcp-chat 0.0.2__py3-none-any.whl → 0.0.4__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.
mcp_chat/cli_chat.py CHANGED
@@ -34,7 +34,7 @@ except ImportError as e:
34
34
  sys.exit(1)
35
35
 
36
36
  # Local application imports
37
- from mcp_chat.config_loader import load_config
37
+ from .config_loader import load_config
38
38
 
39
39
  # Type definitions
40
40
  ConfigType = dict[str, Any]
@@ -238,6 +238,17 @@ async def run() -> None:
238
238
  mcp_cleanup: McpServerCleanupFn | None = None
239
239
  try:
240
240
  load_dotenv()
241
+
242
+ # Debug: Check if environment variables are loaded
243
+ import os
244
+ openai_key = os.getenv('OPENAI_API_KEY')
245
+ print(f"DEBUG: OPENAI_API_KEY loaded: {openai_key is not None}")
246
+ if openai_key:
247
+ print(f"DEBUG: Key length: {len(openai_key)}")
248
+ print(f"DEBUG: Key starts with: {openai_key[:10]}...")
249
+ else:
250
+ print("DEBUG: OPENAI_API_KEY is None or empty")
251
+
241
252
  args = parse_arguments()
242
253
  logger = init_logger(args.verbose)
243
254
  config = load_config(args.config)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-chat
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: Simple CLI MCP Client to quickly test and explore MCP servers from the command line
5
5
  Project-URL: Bug Tracker, https://github.com/hideya/mcp-client-langchain-py/issues
6
6
  Project-URL: Source Code, https://github.com/hideya/mcp-client-langchain-py
@@ -0,0 +1,8 @@
1
+ mcp_chat/__init__.py,sha256=cxW2vB9rLAKUrNgEJ9hxa3sAK95x9-3_7RZaTxCVTTo,66
2
+ mcp_chat/cli_chat.py,sha256=YPR8VuwPezTxvD_frxNzh8MJ9XYUpdYofNWC2PWfVPA,8521
3
+ mcp_chat/config_loader.py,sha256=SXQYTf_i5ZG7F8_EUC_8_SC0W4R97Juqx0jCllYS0Wk,2325
4
+ mcp_chat-0.0.4.dist-info/METADATA,sha256=ulVVU13Al2jDFHHkp1naBJ5GJP3HHH21S8a-S1pO4TI,5564
5
+ mcp_chat-0.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ mcp_chat-0.0.4.dist-info/entry_points.txt,sha256=nVuS7z3aG9zJ6VcZ4OK9j9lKea-fnNmMluMikwG3z-o,52
7
+ mcp_chat-0.0.4.dist-info/licenses/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
8
+ mcp_chat-0.0.4.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- mcp_chat/__init__.py,sha256=cxW2vB9rLAKUrNgEJ9hxa3sAK95x9-3_7RZaTxCVTTo,66
2
- mcp_chat/cli_chat.py,sha256=uTTXW38-hpGqhJNneiY2TZ19wpzrcazzEzYjfVi_5PE,8089
3
- mcp_chat/config_loader.py,sha256=SXQYTf_i5ZG7F8_EUC_8_SC0W4R97Juqx0jCllYS0Wk,2325
4
- mcp_chat-0.0.2.dist-info/METADATA,sha256=w9EINqHwyQfSYzKup61pbwBMOUjZuw_o1I3twjraOcs,5564
5
- mcp_chat-0.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- mcp_chat-0.0.2.dist-info/entry_points.txt,sha256=nVuS7z3aG9zJ6VcZ4OK9j9lKea-fnNmMluMikwG3z-o,52
7
- mcp_chat-0.0.2.dist-info/licenses/LICENSE,sha256=CRC91e8v116gCpnp7h49oIa6_zjhxqnHFTREeoZFJwA,1072
8
- mcp_chat-0.0.2.dist-info/RECORD,,