类 JsonlTraceExporter.Builder
java.lang.Object
io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
- 封闭类:
JsonlTraceExporter
-
方法概要
修饰符和类型方法说明append(boolean append) Appends to existing file if present (default: true).build()enabledEvents(Set<HookEventType> enabledEvents) Enables exactly these event types (chunk and summary helpers still apply).failFast(boolean failFast) If enabled, exporter errors fail the agent execution (default: false, best-effort).flushEveryLine(boolean flushEveryLine) Flushes after each JSONL line (default: true).includeActingChunks(boolean includeActingChunks) Includes tool streaming events (ActingChunkEvent).includeReasoningChunks(boolean includeReasoningChunks) Includes reasoning streaming events (ReasoningChunkEvent).includeSummary(boolean includeSummary) Includes summary events (PreSummaryEvent/PostSummaryEvent).includeSummaryChunks(boolean includeSummaryChunks) Includes summary streaming events (SummaryChunkEvent).priority(int priority) Hook priority (default: 900, low priority for logging/export).
-
方法详细资料
-
append
Appends to existing file if present (default: true). -
flushEveryLine
Flushes after each JSONL line (default: true). -
failFast
If enabled, exporter errors fail the agent execution (default: false, best-effort). -
priority
Hook priority (default: 900, low priority for logging/export). -
enabledEvents
Enables exactly these event types (chunk and summary helpers still apply). -
includeReasoningChunks
Includes reasoning streaming events (ReasoningChunkEvent). -
includeActingChunks
Includes tool streaming events (ActingChunkEvent). -
includeSummary
Includes summary events (PreSummaryEvent/PostSummaryEvent). -
includeSummaryChunks
Includes summary streaming events (SummaryChunkEvent). -
build
-