Skip to content

fix passing of the assistant options to the invoke #303

fix passing of the assistant options to the invoke

fix passing of the assistant options to the invoke #303

Triggered via pull request September 4, 2024 14:19
Status Failure
Total duration 28s
Artifacts

main.yml

on: pull_request
runs typescript and tests
15s
runs typescript and tests
Publish to NPM
0s
Publish to NPM
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
runs typescript and tests: src/LangtailAssistants.spec.ts#L42
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L56
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L56
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L70
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L70
Type '{ key: string; }' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L88
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L89
Type '({ role: "system"; content: string; } | { role: "user"; content: string; })[]' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.spec.ts#L104
Type 'string' is not assignable to type 'never'.
runs typescript and tests: src/LangtailAssistants.ts#L18
Rest types may only be created from object types.
runs typescript and tests
Process completed with exit code 2.
runs typescript and tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
runs typescript and tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/