Spaces:
Sleeping
Sleeping
| import sys | |
| import os | |
| sys.path.insert(0, os.path.dirname(__file__)) | |
| def minimal_test(): | |
| try: | |
| print("Testing minimal imports...") | |
| from src.utils.config import config | |
| print("β Config imported") | |
| from src.utils.logger import get_logger | |
| print("β Logger imported") | |
| from src.tools.base_tool import BaseWeb3Tool | |
| print("β Base tool imported") | |
| from src.tools.coingecko_tool import CoinGeckoTool | |
| tool = CoinGeckoTool() | |
| print("β CoinGecko tool created") | |
| from src.agent.research_agent import Web3ResearchAgent | |
| print("β Research agent imported") | |
| print("π All core components working!") | |
| return True | |
| except Exception as e: | |
| print(f"β Error: {e}") | |
| import traceback | |
| traceback.print_exc() | |
| return False | |
| if __name__ == "__main__": | |
| minimal_test() | |