mcp-chat 0.0.2__tar.gz → 0.0.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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcp-chat"
3
- version = "0.0.2"
3
+ version = "0.0.4"
4
4
  description = "Simple CLI MCP Client to quickly test and explore MCP servers from the command line"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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)
@@ -770,7 +770,7 @@ wheels = [
770
770
 
771
771
  [[package]]
772
772
  name = "mcp-chat"
773
- version = "0.0.1"
773
+ version = "0.0.4"
774
774
  source = { editable = "." }
775
775
  dependencies = [
776
776
  { name = "langchain" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes