Skip to content

Commit fd03b00

Browse files
authored
Export a models property in @inngest/ai (#890)
## Summary <!-- Succinctly describe your change, providing context, what you've changed, and why. --> Export a `models` property in `@inngest/ai`, allowing us to easily grab all supported models. ## Checklist <!-- Tick these items off as you progress. --> <!-- If an item isn't applicable, ideally please strikeout the item by wrapping it in "~~"" and suffix it with "N/A My reason for skipping this." --> <!-- e.g. "- [ ] ~~Added tests~~ N/A Only touches docs" --> - [ ] ~Added a [docs PR](https://github.com/inngest/website) that references this PR~ N/A - [ ] ~Added unit/integration tests~ N/A - [x] Added changesets if applicable ## Related - For #889
1 parent 632cbb0 commit fd03b00

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/unlucky-points-exercise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@inngest/ai": patch
3+
---
4+
5+
Export a `models` property containing all models

packages/ai/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export type { AiAdapter, AiAdapters } from "./adapter.js";
22
export * from "./adapters/index.js";
33
export * from "./models/index.js";
4+
export * as models from "./models/index.js";

0 commit comments

Comments
 (0)