MCPcopy Index your code
hub / github.com/simstudioai/sim / getProviderFileStrategy

Function getProviderFileStrategy

apps/sim/providers/attachments.ts:83–85  ·  view source on GitHub ↗
(providerId: ProviderId | string)

Source from the content-addressed store, hash-verified

81
82/** Large-file delivery strategy for a provider, sourced from its `models.ts` definition. */
83export function getProviderFileStrategy(providerId: ProviderId | string): ProviderFileStrategy {
84 return getProviderFileAttachment(providerId).strategy
85}
86
87/** True when a file exceeds the inline threshold and the provider has a large-file path. */
88export function shouldUseLargeFilePath(

Callers 3

Calls 1

Tested by

no test coverage detected