ai icon indicating copy to clipboard operation
ai copied to clipboard

`FilePart` interface not exported

Open Saran33 opened this issue 1 year ago • 0 comments

Description

The newly added FilePart interface is not exported as are the other content parts.

Code example

import type {
  CoreMessage,
  FilePart,
  ImagePart,
  TextPart,
  ToolCallPart,
  ToolResultPart,
} from 'ai';
// Module '"ai"' declares 'FilePart' locally, but it is not exported.ts(2459)

Additional context

No response

Saran33 avatar Oct 01 '24 21:10 Saran33