Skip to content

WIP: Reexport streams from Langtail SDK add a React hook for handling AI streams #164

WIP: Reexport streams from Langtail SDK add a React hook for handling AI streams

WIP: Reexport streams from Langtail SDK add a React hook for handling AI streams #164

Triggered via pull request June 14, 2024 09:40
Status Failure
Total duration 24s
Artifacts

main.yml

on: pull_request
runs typescript and tests
14s
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: playground/app/api/langtail/route.ts#L2
Cannot find module 'next/server' or its corresponding type declarations.
runs typescript and tests: playground/app/api/langtail/weather/route.ts#L1
Cannot find module 'next/server' or its corresponding type declarations.
runs typescript and tests: playground/app/components/AiLoading.tsx#L1
Cannot find module './chat.module.css' or its corresponding type declarations.
runs typescript and tests: playground/app/components/AiLoading.tsx#L5
Cannot use JSX unless the '--jsx' flag is provided.
runs typescript and tests: playground/app/components/AiLoading.tsx#L6
Cannot use JSX unless the '--jsx' flag is provided.
runs typescript and tests: playground/app/components/AiLoading.tsx#L7
Cannot use JSX unless the '--jsx' flag is provided.
runs typescript and tests: playground/app/components/AiLoading.tsx#L8
Cannot use JSX unless the '--jsx' flag is provided.
runs typescript and tests: playground/app/components/chat.tsx#L4
Cannot find module './chat.module.css' or its corresponding type declarations.
runs typescript and tests: playground/app/components/chat.tsx#L5
Cannot find module 'react-markdown' or its corresponding type declarations.
runs typescript and tests: playground/app/components/chat.tsx#L7
Module './AiLoading' was resolved to '/home/runner/work/langtail-node/langtail-node/playground/app/components/AiLoading.tsx', but '--jsx' is not set.
runs typescript and tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/