Check what configuration files exist.
()
| 68 | |
| 69 | |
| 70 | def check_configuration_files(): |
| 71 | """Check what configuration files exist.""" |
| 72 | print("\n📁 Configuration Files:") |
| 73 | |
| 74 | # chuk-llm config locations |
| 75 | chuk_config_dir = Path.home() / ".chuk_llm" |
| 76 | mcp_config_dir = Path.home() / ".mcp-cli" |
| 77 | |
| 78 | config_files = [ |
| 79 | (chuk_config_dir / "config.yaml", "chuk-llm main config"), |
| 80 | (chuk_config_dir / "providers.yaml", "chuk-llm provider overrides"), |
| 81 | (chuk_config_dir / ".env", "chuk-llm environment"), |
| 82 | (mcp_config_dir / "preferences.yaml", "MCP CLI preferences"), |
| 83 | (mcp_config_dir / "preferences.json", "MCP CLI preferences (legacy)"), |
| 84 | (mcp_config_dir / "models.json", "MCP CLI models (legacy)"), |
| 85 | ] |
| 86 | |
| 87 | for file_path, description in config_files: |
| 88 | if file_path.exists(): |
| 89 | size = file_path.stat().st_size |
| 90 | print(f" ✅ {description}: {file_path} ({size} bytes)") |
| 91 | else: |
| 92 | print(f" ❌ {description}: {file_path} (not found)") |
| 93 | |
| 94 | |
| 95 | def test_client_creation(): |