Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update package json and package lock json - plus run npm audit fix * move rag folder into components folder * remove browser auto-fill on rag input * correct rag input error message colors * clear rag input field post submit * update deploy model functionality: - add dynamic button text, -disable logic - refresh handling * more updated to deploy model - to show previously selected model and weights * update models deployed table to refresh model context * Adds models context to refresh deployed models throughtout the app * add more model interfaces * Adds Models Provider * update animated deploy button * update navbar: - show chatui icon - greyed out when no models deployed - shown when a single or more model is deployed - updates the models provider so that other components can subscribe * update navabr - adds seperator - updates icon for models deployed * better error management when deployment fails * shows user when model is being deleted * remove model id from toast message * adds better animation when deploying a model * Pre select default weights: - add an animation when the component mounts to show the default weight is selected * removes finetuer option * fix: bugs in chatui page and improve layout: - Restructure chat message layout for better alignment - Implement max-width and text wrapping for long messages - Adjust chat bubble styling for consistent appearance - Enhance ScrollArea to improve spacing between messages - add tooltip in menu bar - adjust menu bar look and layout - adjust inferecne button to be better * Add better scroll down button when text is very large * feat (Custom Toaster ) - gets a info toast message * fix ts form errors * Add log view feature: ListLogsView and GetLogView endpoints * add log viewer views to test POC * WIP: Add log view feature: to frontend to test POC * WIP: log viewer - update frontend to accept tree file structure from backend * Enhance LogsViewer icons and add visual indicators - Add color to folder (yellow) and file (blue) icons - Introduce ExternalLink icon for log files on hover - Improve button layout for better visual hierarchy - Maintain existing functionality and component structure * fix(logs-viewer): ensure correct log file path handling in frontend + backend - Removed double-encoding of log file paths when constructing URLs for fetching logs - Improved log file tree rendering for better user experience when navigating directories * clean out log viewer feature * better button effects throughtout the app * fix syntax errors * Navbar icons get a new button variant * updates models deployed page for better icons and ux * fixed named exports in models deployed * fix import * update chatui component - add back scroll wheel - make it default export * switch to export default * update model config: to support llama3-70 - adds ModelImpl for llamma3-70b - sets WH_ARCH_YAML in case device is N150 or N300x4 * adds temperature and max tokens to the post req to the model * up streams new model config and uses intruct weights * overhaul chat component to accept infernce from lamma models and show stats * Append the custom end marker after the last chunk to ensure frontend reads all infernce chunks * updates tsconfig * adds infernce stat component * updates backgound * update to v1.0 * fix ts vite warnings fixes #61 * remove streaming info for now * refctor to use: - only folders that contain logs * refactor functions to new files with module scope * attempt to sort logs by date * added mistral to model config * removing old implemention in model config * Anirud/fix refactor chatui page (#64) * refactor(Header): Resolve ref warning and improve type safety - Extract ModelSelector as a separate forwardRef component - Fix TypeScript errors in DropdownMenu implementation - Improve overall type safety in Header component - fixes #62 * refactor ChatUI component - Break down large ChatComponent into smaller, reusable components in its own folder - Create separate Header, ChatHistory, and InputArea components - move chat components like stats, examples into its own folder called "chatui" * refactor: chatui history and examples - add scroll back which allows user to scoll to bottom of chat * keep focus on chat text area * Refactor ChatComponent for improved modularity - Move utility functions to separate files - Update imports to use new utility files - Simplify handleInference function * increase cycle time before moving to a new chat example * Create refactored runInference.ts for inference processing * Create getRagContext.ts for RAG functionality * Create types.ts with shared interfaces across chat ui * remove this unused component --------- Co-authored-by: Mithun Vanniasinghe <[email protected]>
- Loading branch information