Package com.axelor.ai.tool
Class ToolExecutorPlugin
java.lang.Object
com.axelor.ai.tool.ToolExecutorPlugin
- All Implemented Interfaces:
ChatPlugin
-
Method Summary
Modifier and TypeMethodDescriptiondecorateToolExecutor(ChatRequest request, ToolExecutor executor) Wraps the tool executor to intercept tool calls (e.g.intpriority()Execution priority.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axelor.ai.chat.ChatPlugin
decorateProvider, decorateWriter, estimateInjectedTokens, onComplete, onError, onMessage, onRequest
-
Method Details
-
priority
public int priority()Description copied from interface:ChatPluginExecution priority. Lower values run first. Default is 100.- Specified by:
priorityin interfaceChatPlugin
-
decorateToolExecutor
Description copied from interface:ChatPluginWraps the tool executor to intercept tool calls (e.g. authorization, logging).- Specified by:
decorateToolExecutorin interfaceChatPlugin
-