forked from vortezwohl/CEO-Agentic-AI-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
26 lines (22 loc) · 822 Bytes
/
__init__.py
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
import logging
from .brain.agent import Agent
from .ability import Ability, AgenticAbility
from .brain.lm import get_openai_model
from .util import ability, agentic
from .enum import Personality
__AUTHOR__ = '吴子豪 / Vortez Wohl'
__EMAIL__ = '[email protected]'
__VERSION__ = '0.8.2-preview'
logger = logging.getLogger('ceo')
logger.setLevel(logging.INFO)
console_handler = logging.StreamHandler()
console_handler.setLevel(logging.DEBUG)
formatter = logging.Formatter('[%(levelname)s] %(asctime)s %(name)s : %(message)s')
console_handler.setFormatter(formatter)
logger.addHandler(console_handler)
logger = logging.getLogger('ceo.prompt')
logger.setLevel(logging.INFO)
logger = logging.getLogger('ceo.ability')
logger.setLevel(logging.INFO)
logger = logging.getLogger('ceo.agent')
logger.setLevel(logging.INFO)