data_juicer_agents.utils.agentscope_logging module
Shared logging helpers for AgentScope integration.
-
class data_juicer_agents.utils.agentscope_logging.IgnoreThinkingBlockWarningFilter(name='')[源代码]
基类:Filter
Filter only the known formatter warning for thinking blocks.
-
filter(record: LogRecord) → bool[源代码]
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[源代码]
Install the filter once on the target logger.