(
part:
| Prompt.TextPart
| Prompt.ToolCallPart
)
| 1396 | Predicate.isNotUndefined(config.fileIdPrefixes) && config.fileIdPrefixes.some((prefix) => data.startsWith(prefix)) |
| 1397 | |
| 1398 | const getItemId = ( |
| 1399 | part: |
| 1400 | | Prompt.TextPart |
| 1401 | | Prompt.ToolCallPart |
| 1402 | ): string | undefined => part.options.openai?.itemId |
| 1403 | |
| 1404 | const getImageDetail = (part: Prompt.FilePart): typeof Generated.ImageDetail.Encoded => |
| 1405 | part.options.openai?.imageDetail ?? "auto" |
no outgoing calls
no test coverage detected