Models
Reference for client.models in the Future AGI Python and TypeScript SDKs: models.list.
client.models on fi.Client (Python) and client.models on Client from @future-agi/sdk (TypeScript). The models these methods return are on Gateway response models; how arguments, pagination, errors and strict mode work is in the overview.
Methods
| Method | Description |
|---|---|
models.list | List the LLM models available to prompts and evaluations, with their providers. |
client.models
models.list
List the LLM models available to prompts and evaluations, with their providers.
GET
/model-hub/api/models_list/ result = client.models.list()const result = await client.models.list(); Signature
client.models.list(
*,
extra_query: dict[str, Any] | None = None,
options: RequestOptions | None = None,
) -> models.ModelHubPaginatedResponseclient.models.list(options?: RequestOptions): Promise<models.ModelHubPaginatedResponse> Parameters
This method takes no parameters beyond the per-call options.
Returns
Was this page helpful?
Questions & Discussion