Skip to contents

Set the maximum number of calls to the LLM

Usage

llm_max_calls(n = NULL)

Arguments

n

The maximum number of calls that the llm() function can make

Value

the maximum number of calls (integer); invisibly when setting it

Examples

llm_max_calls()
#> [1] 30
old <- llm_max_calls()
llm_max_calls(10)
llm_max_calls(old)