@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
8 lines (7 loc) • 331 B
TypeScript
/**
* Copies mutable data containers used by public testing call records while
* preserving runtime identities such as signals, callbacks, and class
* instances. Cycles and shared references are preserved within the snapshot.
*
*/
export declare function snapshotTestingValue<T>(value: T, seen?: WeakMap<object, unknown>): T;