View source: R/multiLLMviaionet.R
| refresh_ionet_models | R Documentation |
This function forces a refresh of the model list cache by fetching the current models from the io.net API. Use this if you suspect the model list has changed and you want to update immediately rather than waiting for the 1-hour cache to expire.
refresh_ionet_models(api_key = NULL, verbose = TRUE)
api_key |
Optional API key for fetching current models. Defaults to IONET_API_KEY environment variable. |
verbose |
Logical indicating whether to show detailed fetching information. Default is TRUE. |
Refresh io.net Model Cache
A character vector of current model names from the API, or NULL if the API call failed
Satoshi Kume
## Not run:
# Refresh model list from API
current_models <- refresh_ionet_models()
# Refresh silently
current_models <- refresh_ionet_models(verbose = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.