Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Add react hook to openai module #111

Add react hook to openai module

Add react hook to openai module #111

Triggered via pull request October 25, 2023 15:00
Status Failure
Total duration 1m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
build: src/llms/openai.ts#L437
Type string trivially inferred from a string literal, remove type annotation
build: src/llms/openai.ts#L438
Type number trivially inferred from a number literal, remove type annotation
build: src/llms/openai.ts#L460
React Hook useCallback has unnecessary dependencies: 'messages', 'model', and 'temperature'. Either exclude them or remove the dependency array
build: src/llms/openai.ts#L542
Newline required at end of file but not found
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.