data_juicer_agents.utils.agentscope_logging module#

Shared logging helpers for AgentScope integration.

class data_juicer_agents.utils.agentscope_logging.IgnoreThinkingBlockWarningFilter(name='')[source]#

Bases: Filter

Filter only the known formatter warning for thinking blocks.

filter(record: LogRecord) bool[source]#

Determine if the specified record is to be logged.

Returns True if the record should be logged, or False otherwise. If deemed appropriate, the record may be modified in-place.

data_juicer_agents.utils.agentscope_logging.install_thinking_warning_filter(logger_name: str = 'as') None[source]#

Install the filter once on the target logger.