Learn R Programming

tidyllm (version 0.2.0)

ratelimit_from_header: Extract rate limit information from API response headers

Description

Extract rate limit information from API response headers

Usage

ratelimit_from_header(.response_headers, .api)

Value

A list containing rate limit information

Arguments

.response_headers

Headers from the API response

.api

The API type ("claude", "openai","groq")