Spaces:
Sleeping
Sleeping
File size: 960 Bytes
f104fee |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
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()
|