Uses of Class
net.thevpc.naru.api.model.NaruStreamPipeline
Packages that use NaruStreamPipeline
-
Uses of NaruStreamPipeline in net.thevpc.naru.api.model
Methods in net.thevpc.naru.api.model that return NaruStreamPipelineModifier and TypeMethodDescriptionstatic NaruStreamPipelineNaruStreamPipeline.batch(String provider, String text, NaruStreamHandler handler, NaruThinkingTags tags) Consumes a whole batch body.Feeds the next piece of the answer body as it arrives.NaruStreamPipeline.feedNativeThinking(String text) Records reasoning that arrived in a provider-native field rather than inline in the answer.static NaruStreamPipelineNaruStreamPipeline.of(String provider, NaruStreamHandler handler) Convenience using the protocol's default delimiters.NaruStreamPipeline.thinkingTokens(long tokens) Records the reasoning token count reported by the provider.