generate_model_docs: Generate Document Strings for Models

View source: R/utils_models.R

generate_model_docsR Documentation

Generate Document Strings for Models

Description

Helper for roxygen2 ⁠@eval⁠ tag to dynamically insert supported models into documentation. Shows enriched information (context window, capabilities) when available.

Usage

generate_model_docs(provider, max_items = 15)

Arguments

provider

The name of the provider.

max_items

Maximum number of models to display. Defaults to 15.

Value

A string containing roxygen-formatted documentation of the models.


aisdk documentation built on May 29, 2026, 9:07 a.m.