feat(chat): user can use @ to add tool suggestion in chat #5348
Annotations
1 error and 14 warnings
Run prettier
Process completed with exit code 1.
|
Run linter:
packages/toolkit/src/lib/react-query-service/artifact/useUploadAndGetDownloadNamespaceObjectURL.ts#L59
React Hook React.useCallback has missing dependencies: 'getNamespaceObjectDownloadURL', 'getNamespaceObjectUploadURL', and 'uploadNamespaceObject'. Either include them or remove the dependency array
|
Run linter:
packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L60
The 'forceCloseCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceCloseCollapsibleFormGroups' in its own useMemo() Hook
|
Run linter:
packages/toolkit/src/lib/use-instill-form/useInstillForm.tsx#L64
The 'forceOpenCollapsibleFormGroups' logical expression could make the dependencies of useMemo Hook (at line 184) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'forceOpenCollapsibleFormGroups' in its own useMemo() Hook
|
Run linter:
packages/toolkit/src/view/catalog/components/FileChunks.tsx#L75
React Hook React.useEffect has a missing dependency: 'namespaceCatalogChunks'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/catalog/components/tabs/ChunkTab.tsx#L122
React Hook React.useEffect has a missing dependency: 'namespaceCatalogFiles'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/chat/ToolList.tsx#L63
React Hook React.useEffect has a missing dependency: 'updateEnableToolSuggestion'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/dashboard/activity/DashboardActivityPageMainView.tsx#L234
React Hook React.useMemo has an unnecessary dependency: 'selectedTimeOption'. Either exclude it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/dashboard/cost/CostTab.tsx#L110
React Hook React.useMemo has a missing dependency: 'selectedTimeOption.value'. Either include it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/dashboard/cost/model/DashboardListModel.tsx#L241
React Hook React.useMemo has an unnecessary dependency: 'targetNamespace.id'. Either exclude it or remove the dependency array
|
Run linter:
packages/toolkit/src/view/dashboard/cost/pipeline/DashboardListPipeline.tsx#L239
React Hook React.useMemo has an unnecessary dependency: 'targetNamespace.id'. Either exclude it or remove the dependency array
|
Get pnpm store directory
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/
|
Install pnpm
The `save-state` 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/
|
Install pnpm
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/
|
Install pnpm
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/
|
Loading