Skip to content

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage #1144

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage

core[minor],openai[patch],langchain[patch]: Allow tool functions to input ToolCall / return ToolMessage #1144

Triggered via pull request July 14, 2024 15:03
Status Failure
Total duration 10m 13s
Artifacts

examples.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Build
Argument of type 'DynamicTool<any>' is not assignable to parameter of type 'StructuredToolInterface<ZodAny, any> | RunnableToolLike<ZodType<any, ZodTypeDef, any>, unknown>'.
Build
Type 'DynamicTool<any>' is not assignable to type 'StructuredToolInterface<ZodAny, any> | StructuredToolInterface<ZodAny, any>'.
Build
Argument of type 'DynamicTool<any>' is not assignable to parameter of type 'StructuredToolInterface<ZodAny, any> | RunnableToolLike<ZodType<any, ZodTypeDef, any>, unknown>'.
Build
Type 'DynamicTool<any>[]' is not assignable to type '(StructuredToolInterface<ZodAny, any> | StructuredToolInterface<ZodAny, any>)[]'.
Build
Type 'DynamicTool<any>[]' is not assignable to type '(StructuredToolInterface<ZodAny, any> | StructuredToolInterface<ZodAny, any>)[]'.
Build
Type '(DynamicTool<any> | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { low: number; high: number; }, { low: number; high: number; }>, any>)[]' is not assignable to type 'StructuredToolInterface<ZodAny, any>[]'.
Build
Type '(DynamicTool<any> | DynamicStructuredTool<ZodObject<{ low: ZodNumber; high: ZodNumber; }, "strip", ZodTypeAny, { low: number; high: number; }, { low: number; high: number; }>, any>)[]' is not assignable to type '(StructuredToolInterface<ZodAny, any> | StructuredToolInterface<ZodAny, any>)[]'.
Build
examples#build: command (/home/runner/work/langchainjs/langchainjs/examples) /tmp/xfs-13b25f25/yarn run build exited (2)
Build
Process completed with exit code 2.
Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/