Skip to content

Merge pull request #176 from OpenAssistantGPT/feat/post-message-on-pa… #427

Merge pull request #176 from OpenAssistantGPT/feat/post-message-on-pa…

Merge pull request #176 from OpenAssistantGPT/feat/post-message-on-pa… #427

Triggered via push November 27, 2024 12:51
Status Success
Total duration 2m 12s
Artifacts

quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
ESLint: packages/react/src/use-assistant.ts#L87
React Hook useEffect has a missing dependency: 'localStorageName'. Either include it or remove the dependency array
ESLint: packages/react/src/use-assistant.ts#L97
React Hook useEffect has missing dependencies: 'currentThreadId' and 'localStorageName'. Either include them or remove the dependency array
ESLint: packages/ui/components/chat-message.tsx#L99
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
ESLint: packages/ui/components/chat.tsx#L114
React Hook useEffect has a missing dependency: 'toast'. Either include it or remove the dependency array
ESLint: packages/ui/components/chat.tsx#L120
React Hook useEffect has a missing dependency: 'onThreadIdChange'. Either include it or remove the dependency array. If 'onThreadIdChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
ESLint: packages/ui/components/chat.tsx#L126
React Hook useEffect has a missing dependency: 'onMessagesChange'. Either include it or remove the dependency array. If 'onMessagesChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
ESLint: packages/ui/components/chat.tsx#L135
React Hook useEffect has missing dependencies: 'handleInputChange' and 'input'. Either include them or remove the dependency array
ESLint: packages/ui/components/chat.tsx#L227
React Hook useCallback has a missing dependency: 'uploadFile'. Either include it or remove the dependency array