接口 Tracer
- 所有已知实现类:
NoopTracer
已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
方法概要
修饰符和类型方法说明default reactor.core.publisher.Mono<Msg> callAgent(AgentBase instance, List<Msg> inputMessages, Supplier<reactor.core.publisher.Mono<Msg>> agentCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。default <TReq,TResp, TParams>
List<TReq> callFormat(AbstractBaseFormatter<TReq, TResp, TParams> formatter, List<Msg> msgs, Supplier<List<TReq>> formatCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。default reactor.core.publisher.Flux<ChatResponse> callModel(ChatModelBase instance, List<Msg> inputMessages, List<ToolSchema> toolSchemas, GenerateOptions options, Supplier<reactor.core.publisher.Flux<ChatResponse>> modelCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。default reactor.core.publisher.Mono<ToolResultBlock> callTool(Toolkit toolkit, ToolCallParam toolCallParam, Supplier<reactor.core.publisher.Mono<ToolResultBlock>> toolKitCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。default <TResp> TResprunWithContext(reactor.util.context.ContextView reactorCtx, Supplier<TResp> inner) 已过时, 待删除: 此 API 元素将从以后的版本中删除。default voidshutdown()已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
方法详细资料
-
callAgent
default reactor.core.publisher.Mono<Msg> callAgent(AgentBase instance, List<Msg> inputMessages, Supplier<reactor.core.publisher.Mono<Msg>> agentCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
callModel
default reactor.core.publisher.Flux<ChatResponse> callModel(ChatModelBase instance, List<Msg> inputMessages, List<ToolSchema> toolSchemas, GenerateOptions options, Supplier<reactor.core.publisher.Flux<ChatResponse>> modelCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
callTool
default reactor.core.publisher.Mono<ToolResultBlock> callTool(Toolkit toolkit, ToolCallParam toolCallParam, Supplier<reactor.core.publisher.Mono<ToolResultBlock>> toolKitCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
callFormat
default <TReq,TResp, List<TReq> callFormatTParams> (AbstractBaseFormatter<TReq, TResp, TParams> formatter, List<Msg> msgs, Supplier<List<TReq>> formatCall) 已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
runWithContext
default <TResp> TResp runWithContext(reactor.util.context.ContextView reactorCtx, Supplier<TResp> inner) 已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
shutdown
default void shutdown()已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
OtelTracingMiddlewareinstead.