Files
aitbc/cli/aitbc_cli/commands/__init__.py
aitbc 745f791eda refactor: improve error handling and remove hardcoded credentials
- Changed bare except clauses to specific exception types in web3_utils.py, testing.py, messages.py, and message_storage.py
- Replaced print() calls with logger in testing.py, agent_discovery.py, compliance_agent.py, coordinator.py, trading_agent.py, keys.py, escrow.py, persistent_spending_tracker.py, sync_cli.py, and client.py
- Added logger initialization using get_logger(__name__) in compliance_agent.py, coordinator.py, trading_agent.py, keys.py, escrow.py, persistent_spending_tracker.py, and client.py
- Removed hardcoded secret
2026-05-12 17:01:57 +02:00

12 lines
340 B
Python

"""Compatibility package for AITBC CLI command modules."""
from __future__ import annotations
from pathlib import Path
_PACKAGE_DIR = Path(__file__).resolve().parent
_BUILD_COMMANDS_DIR = _PACKAGE_DIR.parents[1] / "build" / "lib" / "aitbc_cli" / "commands"
if _BUILD_COMMANDS_DIR.exists():
__path__.append(str(_BUILD_COMMANDS_DIR))