类的使用
io.agentscope.core.model.ExecutionConfig.Builder
使用ExecutionConfig.Builder的程序包
-
io.agentscope.core.model中ExecutionConfig.Builder的使用
修饰符和类型方法说明ExecutionConfig.Builder.backoffMultiplier(Double backoffMultiplier) Sets the backoff multiplier applied after each retry.static ExecutionConfig.BuilderExecutionConfig.builder()Creates a new builder for ExecutionConfig.ExecutionConfig.Builder.initialBackoff(Duration initialBackoff) Sets the initial backoff duration for the first retry.ExecutionConfig.Builder.maxAttempts(Integer maxAttempts) Sets the maximum number of attempts (including the initial attempt).ExecutionConfig.Builder.maxBackoff(Duration maxBackoff) Sets the maximum backoff duration between retries.Sets the predicate to determine if an error should trigger a retry.Sets the timeout duration for a single execution.