@librechat/agents-types 3.0.43 → 3.0.45
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/package.json +1 -1
- package/tools.ts +5 -1
package/package.json
CHANGED
package/tools.ts
CHANGED
|
@@ -15,7 +15,9 @@ export type CustomToolCall = {
|
|
|
15
15
|
output?: string;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
export type GenericTool = StructuredToolInterface | RunnableToolLike
|
|
18
|
+
export type GenericTool = (StructuredToolInterface | RunnableToolLike) & {
|
|
19
|
+
mcp?: boolean;
|
|
20
|
+
};
|
|
19
21
|
|
|
20
22
|
export type ToolMap = Map<string, GenericTool>;
|
|
21
23
|
export type ToolRefs = {
|
|
@@ -239,6 +241,8 @@ export type ProgrammaticToolCallingParams = {
|
|
|
239
241
|
maxRoundTrips?: number;
|
|
240
242
|
/** HTTP proxy URL */
|
|
241
243
|
proxy?: string;
|
|
244
|
+
/** Enable debug logging (or set PTC_DEBUG=true env var) */
|
|
245
|
+
debug?: boolean;
|
|
242
246
|
/** Environment variable key for API key */
|
|
243
247
|
[key: string]: unknown;
|
|
244
248
|
};
|