Files
webstudio/packages/ai/src/models/index.ts
T
Giuseppe 4040b8ccc2 refactor: Replace request helper with ai request handler (#2433)
The AI request helper now takes a `Promise<Response>` coming from
calling fetch() outside of the helper eg. `handleAiRequest(fetch(...))`

In this PR I also fixed the casing of GPT* types
2023-10-09 11:41:46 +02:00

7 lines
169 B
TypeScript

export {
create as createGptModel,
type Model as GptModel,
type ModelConfig as GptModelConfig,
type ModelMessageFormat as GptModelMessageFormat,
} from "./gpt";