Package io.camunda.client.api.command
Interface CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep5
- All Superinterfaces:
CreateAgentInstanceCommandStep1,CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep2,CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep3,CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep4,FinalCommandStep<CreateAgentInstanceResponse>
- All Known Implementing Classes:
CreateAgentInstanceCommandImpl
- Enclosing interface:
CreateAgentInstanceCommandStep1
public static interface CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep5
extends CreateAgentInstanceCommandStep1, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep2, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep3, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep4, FinalCommandStep<CreateAgentInstanceResponse>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.CreateAgentInstanceCommandStep1
CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep2, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep3, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep4, CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep5 -
Method Summary
Modifier and TypeMethodDescriptionmaxModelCalls(int maxModelCalls) Sets the maximum number of LLM model calls the agent instance may make.maxTokens(long maxTokens) Sets the maximum number of tokens the agent instance may use.maxToolCalls(int maxToolCalls) Sets the maximum number of tool calls the agent instance may make.Methods inherited from interface io.camunda.client.api.command.CreateAgentInstanceCommandStep1
elementInstanceKeyMethods inherited from interface io.camunda.client.api.command.CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep2
modelMethods inherited from interface io.camunda.client.api.command.CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep3
providerMethods inherited from interface io.camunda.client.api.command.CreateAgentInstanceCommandStep1.CreateAgentInstanceCommandStep4
systemPromptMethods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute, requestTimeout, send
-
Method Details
-
maxTokens
Sets the maximum number of tokens the agent instance may use. Defaults to -1 (no limit).- Parameters:
maxTokens- the token limit. Use -1 for no limit.- Returns:
- this builder for method chaining
-
maxModelCalls
Sets the maximum number of LLM model calls the agent instance may make. Defaults to -1 (no limit).- Parameters:
maxModelCalls- the model-call limit. Use -1 for no limit.- Returns:
- this builder for method chaining
-
maxToolCalls
Sets the maximum number of tool calls the agent instance may make. Defaults to -1 (no limit).- Parameters:
maxToolCalls- the tool-call limit. Use -1 for no limit.- Returns:
- this builder for method chaining
-