MCPcopy Create free account
hub / github.com/apache/maka / withoutObjectProviderOptions

Function withoutObjectProviderOptions

packages/runtime/src/request-shape.ts:391–395  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

389}
390
391function withoutObjectProviderOptions(value: unknown): unknown {
392 if (!isObjectLike(value)) return value;
393 const { providerOptions: _providerOptions, ...shared } = value;
394 return shared;
395}
396
397function anthropicThinkingBudget(providerOptions: unknown): number | undefined {
398 if (!isObjectLike(providerOptions)) return undefined;

Callers 2

Calls 1

isObjectLikeFunction · 0.85

Tested by

no test coverage detected