Victor Dupuy

Results 4 comments of Victor Dupuy

> > Shouldn't that be working? > > Does this suit your needs? > > ```ts > > import { describe, expect, test } from 'bun:test'; > > > >...

I looked into the `@ai-sdk/openai` package and it looks like there is a `OpenAIChatModelId` type that could be inferred from a readonly array (with `as const`). Something like this: https://github.com/vidup/vercel-ai/blob/90b867f2963b43942d5a2320c2b5d4ef5683592e/packages/openai/src/openai-chat-settings.ts#L2...

@deadcoder0904 this is indeed a useful function to retrieve the latest models at a given point in time, but I would advise against using it directly in a production UI,...

Hey @jtpio :) I can open a first PR this week. Before I do, a couple of scope/API decisions to work out: - What to export first. The arrays seem...