litellm-api 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +14 -0
- package/CHANGELOG.md +7 -0
- package/README.md +11 -0
- package/dist/index.cjs +841 -0
- package/dist/index.d.cts +8173 -0
- package/dist/index.d.mts +8173 -0
- package/dist/index.d.ts +8173 -0
- package/dist/index.mjs +839 -0
- package/package.json +36 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
> litellm-api@0.0.2 build /home/runner/work/openapi-clients/openapi-clients/packages/litellm-api
|
|
3
|
+
> unbuild
|
|
4
|
+
|
|
5
|
+
[info] Automatically detected entries: src/index [esm] [cjs] [dts]
|
|
6
|
+
[info] Building litellm-api
|
|
7
|
+
[info] Cleaning dist directory: `./dist`
|
|
8
|
+
[success] Build succeeded for litellm-api
|
|
9
|
+
[log] dist/index.cjs (total size: 37.2 kB, chunk size: 37.2 kB, exports: LiteLLMApi)
|
|
10
|
+
|
|
11
|
+
[log] dist/index.mjs (total size: 37.1 kB, chunk size: 37.1 kB, exports: LiteLLMApi)
|
|
12
|
+
|
|
13
|
+
Σ Total dist size (byte size): 1.64 MB
|
|
14
|
+
[log]
|
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# LiteLLM API JavaScript SDK
|
|
2
|
+
|
|
3
|
+
Unofficial LiteLLM API JavaScript SDK built from the OpenAPI specification and with TypeScript types.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
const litellm = new LiteLLMApi({ baseUrl, token });
|
|
7
|
+
|
|
8
|
+
const assistants = await litellm.request('GET /assistants', {});
|
|
9
|
+
|
|
10
|
+
const models = await litellm.api.modelManagement.modelListModelsGet({ queryParams: { team_id } });
|
|
11
|
+
```
|