MCPcopy
hub / github.com/PromtEngineer/localGPT / check_imports

Function check_imports

system_health_check.py:20–29  ·  view source on GitHub ↗

Test basic imports

()

Source from the content-addressed store, hash-verified

18 print(f"🔍 {message}")
19
20def check_imports():
21 """Test basic imports"""
22 print_status("Testing basic imports...")
23 try:
24 from rag_system.main import get_agent, EXTERNAL_MODELS, OLLAMA_CONFIG, PIPELINE_CONFIGS
25 print_status("Basic imports successful", True)
26 return True
27 except Exception as e:
28 print_status(f"Import failed: {e}", False)
29 return False
30
31def check_configurations():
32 """Validate configurations"""

Callers 1

mainFunction · 0.85

Calls 1

print_statusFunction · 0.85

Tested by

no test coverage detected