litellm-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

LiteLLM API JavaScript SDK

Unofficial LiteLLM API JavaScript SDK built from the OpenAPI specification and with TypeScript types.

const litellm = new LiteLLMApi({ baseUrl, token });

const assistants = await litellm.request('GET /assistants', {});

const models = await litellm.api.modelManagement.modelListModelsGet({ queryParams: { team_id } });

Readme

Keywords

none

Package Sidebar

Install

npm i litellm-api

Weekly Downloads

29

Version

0.0.3

License

ISC

Unpacked Size

1.65 MB

Total Files

10

Last publish

Collaborators

  • sferadev