mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-05 03:28:59 +09:00
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
7 lines
169 B
TypeScript
7 lines
169 B
TypeScript
export {
|
|
create as createGptModel,
|
|
type Model as GptModel,
|
|
type ModelConfig as GptModelConfig,
|
|
type ModelMessageFormat as GptModelMessageFormat,
|
|
} from "./gpt";
|