* feat: add status handling and visual indicators for file statuses
* refactor: comment out status field and related rendering logic in SearchPage
* format
* add timeout on mutation delete document
* make file fields be optional
* fetch task files and display them on knowledge page
* add tasks to files inside task context
* added failed to status badge
* added files on get all tasks on backend
* Changed models to get parameters by settings if not existent
* changed settings page to get models when is no ajth mode
* fixed openai allowing validation even when value is not present
* removed unused console log
---------
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
This commit simplifies the state update logic in the KnowledgeSourcesPage component by replacing multiple conditional assignments with concise if statements. Additionally, it removes unused GoogleDriveFile and OneDriveFile interfaces, enhancing code clarity and maintainability in line with best practices for async development.
This commit simplifies the state update logic in the KnowledgeSourcesPage component by using conditional chaining to set various settings from the backend response. It removes the unnecessary settingsLoaded state, streamlining the code for better readability and maintainability while adhering to robust coding practices.
This commit refactors the KnowledgeSourcesPage component to include a new ingestion settings section, allowing users to configure document processing parameters such as chunk size and overlap. It also improves the connector management interface by integrating async fetching of connector statuses and enhancing error handling. The changes aim to provide a more robust and user-friendly experience while maintaining well-documented code practices.