groq_list_models {tidyllm} | R Documentation |
List Available Models from the Groq API
Description
List Available Models from the Groq API
Usage
groq_list_models(
.api_url = "https://api.groq.com",
.timeout = 60,
.max_tries = 3,
.dry_run = FALSE,
.verbose = FALSE
)
Arguments
.api_url |
Base URL for the API (default: "https://api.groq.com"). |
.timeout |
Request timeout in seconds (default: 60). |
.max_tries |
Maximum number of retries for the API request (default: 3). |
.dry_run |
Logical; if TRUE, returns the prepared request object without executing it. |
.verbose |
Logical; if TRUE, prints additional information about the request. |
Value
A tibble containing model information (columns include id
, created
, owned_by
, and context_window
),
or NULL if no models are found.
[Package tidyllm version 0.3.4 Index]