Skip to main content
Version: latest (master)

Function: patchLangChain()

patchLangChain(client): Promise<boolean>

Defined in: src/hooks/langchain.ts:15

Intentional no-op stub: native-transport LangChain patching is not implemented. LangChain enforcement is performed in the SDK's callback layer (post-execution redaction) and wrapper layer (pre-execution deny) wired by initAssembly, not through this native hook — so there is nothing to patch here yet. Returns false (nothing patched) for every mode.

The client parameter is retained to keep the adapter-registry hook signature (and the public patchLangChain export) uniform with the other patch* hooks; it is deliberately unused until native patching lands.

Parameters

client

NativeClient

Returns

Promise<boolean>