mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)
PiperOrigin-RevId: 760019467
This commit is contained in:
parent
0d7d7918b6
commit
729001fc0b
@ -25,7 +25,7 @@ from ..tools.agent_tool import AgentTool
|
|||||||
from ..tools.base_tool import BaseTool
|
from ..tools.base_tool import BaseTool
|
||||||
from ..tools.function_tool import FunctionTool
|
from ..tools.function_tool import FunctionTool
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger('google_adk.' + __name__)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool
|
from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool
|
||||||
|
@ -35,7 +35,7 @@ from ..sessions.base_session_service import BaseSessionService
|
|||||||
from ..sessions.session import Session
|
from ..sessions.session import Session
|
||||||
from .utils import common
|
from .utils import common
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger("google_adk." + __name__)
|
||||||
|
|
||||||
|
|
||||||
class EvalMetric(common.BaseModel):
|
class EvalMetric(common.BaseModel):
|
||||||
|
@ -77,7 +77,7 @@ class HelpfulCommand(click.Command):
|
|||||||
ctx.exit(2)
|
ctx.exit(2)
|
||||||
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger("google_adk." + __name__)
|
||||||
|
|
||||||
|
|
||||||
@click.group(context_settings={"max_content_width": 240})
|
@click.group(context_settings={"max_content_width": 240})
|
||||||
|
@ -85,7 +85,7 @@ from .utils import create_empty_state
|
|||||||
from .utils import envs
|
from .utils import envs
|
||||||
from .utils import evals
|
from .utils import evals
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger("google_adk." + __name__)
|
||||||
|
|
||||||
_EVAL_SET_FILE_EXTENSION = ".evalset.json"
|
_EVAL_SET_FILE_EXTENSION = ".evalset.json"
|
||||||
_EVAL_SET_RESULT_FILE_EXTENSION = ".evalset_result.json"
|
_EVAL_SET_RESULT_FILE_EXTENSION = ".evalset_result.json"
|
||||||
|
@ -19,7 +19,7 @@ from .built_in_code_executor import BuiltInCodeExecutor
|
|||||||
from .code_executor_context import CodeExecutorContext
|
from .code_executor_context import CodeExecutorContext
|
||||||
from .unsafe_local_code_executor import UnsafeLocalCodeExecutor
|
from .unsafe_local_code_executor import UnsafeLocalCodeExecutor
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger('google_adk.' + __name__)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'BaseCodeExecutor',
|
'BaseCodeExecutor',
|
||||||
|
@ -26,7 +26,7 @@ from pytest import Metafunc
|
|||||||
|
|
||||||
from .utils import TestRunner
|
from .utils import TestRunner
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger('google_adk.' + __name__)
|
||||||
|
|
||||||
|
|
||||||
def load_env_for_tests():
|
def load_env_for_tests():
|
||||||
|
Loading…
Reference in New Issue
Block a user