Skip to content

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

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 #1937

Triggered via pull request July 13, 2024 15:31
Status Failure
Total duration 2m 58s
Artifacts

unit-tests-langchain.yml

on: pull_request
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
Unit Tests (ubuntu-latest, 20.x)
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
Unit Tests (ubuntu-latest, 20.x)
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<any>'.
Unit Tests (ubuntu-latest, 20.x)
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
Unit Tests (ubuntu-latest, 20.x)
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-125add4d/yarn run build:internal exited (1)
Unit Tests (ubuntu-latest, 20.x)
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-c8b2c74a/yarn run build exited (1)
Unit Tests (ubuntu-latest, 20.x)
Process completed with exit code 1.
Unit Tests (ubuntu-latest, 18.x)
The job was canceled because "ubuntu-latest_20_x" failed.
Unit Tests (ubuntu-latest, 18.x)
Interface 'DallEAPIWrapperParams' incorrectly extends interface 'ToolParams'.
Unit Tests (ubuntu-latest, 18.x)
Property 'responseFormat' in type 'DallEAPIWrapper' is not assignable to the same property in base type 'Tool<any>'.
Unit Tests (ubuntu-latest, 18.x)
Argument of type 'DallEAPIWrapperParams | undefined' is not assignable to parameter of type 'ToolParams | undefined'.
Unit Tests (ubuntu-latest, 18.x)
@langchain/openai#build:internal: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-ee798403/yarn run build:internal exited (1)
Unit Tests (ubuntu-latest, 18.x)
@langchain/openai#build: command (/home/runner/work/langchainjs/langchainjs/libs/langchain-openai) /tmp/xfs-a73d26c0/yarn run build exited (1)
Unit Tests (ubuntu-latest, 18.x)
The operation was canceled.
Unit Tests (ubuntu-latest, 20.x)
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/