incrementLlmCallCount method

void incrementLlmCallCount()

Increments the LLM call counter and enforces RunConfig.maxLlmCalls.

Throws an LlmCallsLimitExceededError when the limit is exceeded.

Implementation

void incrementLlmCallCount() {
  _invocationCostManager.incrementAndEnforceLlmCallsLimit(runConfig);
}