@agent-inspect/langchain 6.31.0 → 6.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -182,7 +182,12 @@ declare class AgentInspectCallback extends BaseCallbackHandler {
|
|
|
182
182
|
* @experimental Additive finalization API for serverless / unusual callback shapes.
|
|
183
183
|
*/
|
|
184
184
|
close(): Promise<void>;
|
|
185
|
-
|
|
185
|
+
/**
|
|
186
|
+
* Match CallbackManager's runtime call order (parentRunId 4th), same as
|
|
187
|
+
* handleLLMStart / handleToolStart — not the declared CallbackHandlerMethods
|
|
188
|
+
* TypeScript order that puts runType 4th and parentRunId 8th.
|
|
189
|
+
*/
|
|
190
|
+
handleChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string[], metadata?: Record<string, unknown>, runType?: string, runName?: string, _extra?: Record<string, unknown>): Promise<void>;
|
|
186
191
|
handleChainEnd(outputs: ChainValues, runId: string, parentRunId?: string, tags?: string[], _kwargs?: {
|
|
187
192
|
inputs?: Record<string, unknown>;
|
|
188
193
|
}): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -182,7 +182,12 @@ declare class AgentInspectCallback extends BaseCallbackHandler {
|
|
|
182
182
|
* @experimental Additive finalization API for serverless / unusual callback shapes.
|
|
183
183
|
*/
|
|
184
184
|
close(): Promise<void>;
|
|
185
|
-
|
|
185
|
+
/**
|
|
186
|
+
* Match CallbackManager's runtime call order (parentRunId 4th), same as
|
|
187
|
+
* handleLLMStart / handleToolStart — not the declared CallbackHandlerMethods
|
|
188
|
+
* TypeScript order that puts runType 4th and parentRunId 8th.
|
|
189
|
+
*/
|
|
190
|
+
handleChainStart(chain: Serialized, inputs: ChainValues, runId: string, parentRunId?: string, tags?: string[], metadata?: Record<string, unknown>, runType?: string, runName?: string, _extra?: Record<string, unknown>): Promise<void>;
|
|
186
191
|
handleChainEnd(outputs: ChainValues, runId: string, parentRunId?: string, tags?: string[], _kwargs?: {
|
|
187
192
|
inputs?: Record<string, unknown>;
|
|
188
193
|
}): Promise<void>;
|
package/dist/index.mjs
CHANGED
|
@@ -1518,7 +1518,12 @@ var AgentInspectCallback = class extends BaseCallbackHandler {
|
|
|
1518
1518
|
errorMessage
|
|
1519
1519
|
});
|
|
1520
1520
|
}
|
|
1521
|
-
|
|
1521
|
+
/**
|
|
1522
|
+
* Match CallbackManager's runtime call order (parentRunId 4th), same as
|
|
1523
|
+
* handleLLMStart / handleToolStart — not the declared CallbackHandlerMethods
|
|
1524
|
+
* TypeScript order that puts runType 4th and parentRunId 8th.
|
|
1525
|
+
*/
|
|
1526
|
+
async handleChainStart(chain, inputs, runId, parentRunId, tags, metadata, runType, runName, _extra) {
|
|
1522
1527
|
this.#prepareCallbackInvocation();
|
|
1523
1528
|
this.#ensureRoot(runId, parentRunId);
|
|
1524
1529
|
this.#rememberStart(runId, "CHAIN");
|