update_rate_limit: Update the standard API rate limit info in the hidden...

View source: R/rate_limits.R

update_rate_limitR Documentation

Update the standard API rate limit info in the hidden .tidyllm_rate_limit_env environment

Description

This function initializes stores ratelimit information from API functions for future use

Usage

update_rate_limit(.api_name, .response_object)

Arguments

.api_name

The name of the API for which to initialize or retrieve the environment.

.response_object

A preparsed response object cotaining info on remaining requests, tokens and rest times


tidyllm documentation built on Oct. 10, 2024, 5:07 p.m.