Package ai.wanaku.core.exchange
Class MutinyToolInvokerGrpc.ToolInvokerImplBase
java.lang.Object
ai.wanaku.core.exchange.MutinyToolInvokerGrpc.ToolInvokerImplBase
- All Implemented Interfaces:
io.grpc.BindableService
- Direct Known Subclasses:
ToolInvokerBean
- Enclosing class:
MutinyToolInvokerGrpc
public abstract static class MutinyToolInvokerGrpc.ToolInvokerImplBase
extends Object
implements io.grpc.BindableService
The tool exchange service definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ServerServiceDefinitionio.smallrye.mutiny.Uni<ToolInvokeReply> invokeTool(ToolInvokeRequest request) Invokes a toolwithCompression(String compression) Set whether the server will try to use a compressed response.
-
Constructor Details
-
ToolInvokerImplBase
public ToolInvokerImplBase()
-
-
Method Details
-
withCompression
Set whether the server will try to use a compressed response.- Parameters:
compression- the compression, e.ggzip
-
invokeTool
Invokes a tool
-
bindService
public io.grpc.ServerServiceDefinition bindService()- Specified by:
bindServicein interfaceio.grpc.BindableService
-