Package ai.wanaku.core.exchange
Class ToolInvokerClient
java.lang.Object
ai.wanaku.core.exchange.ToolInvokerClient
- All Implemented Interfaces:
ToolInvoker,io.quarkus.grpc.MutinyClient<MutinyToolInvokerGrpc.MutinyToolInvokerStub>,io.quarkus.grpc.MutinyService
@Generated(value="by Mutiny Grpc generator",
comments="Source: toolrequest.proto")
public class ToolInvokerClient
extends Object
implements ToolInvoker, io.quarkus.grpc.MutinyClient<MutinyToolInvokerGrpc.MutinyToolInvokerStub>
-
Constructor Summary
ConstructorsConstructorDescriptionToolInvokerClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyToolInvokerGrpc.MutinyToolInvokerStub, MutinyToolInvokerGrpc.MutinyToolInvokerStub> stubConfigurator) -
Method Summary
Modifier and TypeMethodDescriptiongetStub()io.smallrye.mutiny.Uni<ToolInvokeReply> invokeTool(ToolInvokeRequest request) Invokes a tool
-
Constructor Details
-
ToolInvokerClient
public ToolInvokerClient(String name, io.grpc.Channel channel, BiFunction<String, MutinyToolInvokerGrpc.MutinyToolInvokerStub, MutinyToolInvokerGrpc.MutinyToolInvokerStub> stubConfigurator)
-
-
Method Details
-
newInstanceWithStub
- Specified by:
newInstanceWithStubin interfaceio.quarkus.grpc.MutinyClient<MutinyToolInvokerGrpc.MutinyToolInvokerStub>
-
getStub
- Specified by:
getStubin interfaceio.quarkus.grpc.MutinyClient<MutinyToolInvokerGrpc.MutinyToolInvokerStub>
-
invokeTool
Description copied from interface:ToolInvokerInvokes a tool
- Specified by:
invokeToolin interfaceToolInvoker
-