Skip to content

Conversation

@karnsab
Copy link
Member

@karnsab karnsab commented Oct 14, 2025

Summary

This PR merges improvements and new features from the dev branch into main, representing a update to the platform with enhanced user experience, workflow management, and system stability.

Major New Features

  • Large Text Block Management System: Complete overhaul of text handling with multi-row layouts, 20-block limits, and improved UX
  • AI-Powered Workflow Generation: New visual workflow builder with drag-and-drop interface and AI assistance
  • Enhanced Sitemap Processing: Advanced URL selection, filtering, and exclusion capabilities
  • LaTeX Rendering Stability: Major improvements preventing layout shifts and processing issues

Key Improvements

  • API Key Management: MTD cost tracking, rotation warnings, and enhanced security
  • File Upload System: Better visualization, progress tracking, and attachment handling
  • Assistant Management: Improved data source handling and workflow integration
  • UI/UX Enhancements: Better modals, responsive design, and user feedback

Critical Fixes

  • Fixed multiple placeholder deletion bugs in text blocks
  • Resolved LaTeX processing interference with code blocks
  • Improved scheduled task reliability and error handling
  • Enhanced component stability and TypeScript compliance

Statistics

  • 194 files changed with comprehensive updates across the codebase
  • 17,636 insertions of new functionality and improvements
  • 4,823 deletions of obsolete or refactored code
  • Major additions include new components, hooks, utilities, and enhanced existing functionality

Testing Recommendations

  • Test large text block functionality with various content sizes
  • Verify AI workflow generation with different tool combinations
  • Check sitemap URL processing with various website structures
  • Validate LaTeX rendering stability in artifacts
  • Test API key management and cost tracking features

⚠️ Migration Notes

  • Allow time for data source updates to take effect after saving assistant changes
  • New CSV upload functionality requires proper configuration
  • Enhanced sitemap processing may change existing URL handling behavior

karelyrodri and others added 30 commits August 4, 2025 17:00
- Refactored AssistantWorkflowBuilder to include a new WorkflowGeneratorModal and improved argument handling in the workflow steps.
- Enhanced ApiItem to allow word wrapping in descriptions and improved JSON display.
Implemented AI Generatation button in AssistantWorkflowBuilder
Bug Fix - Ensure all values are strings in WorkflowGeneratorModal to …
- Enhanced error handling during assistant lookup with specific error messages for better debugging.
- Introduced a new function to disable the send button based on input validation and assistant availability.
- Improved UI feedback for error states and added retry options for users when an error occurs.
- Introduced a centralized URL validation function to improve consistency across components.
- Updated AssistantAdminUI to delay tab activation for better user experience.
- Enhanced WebsiteURLInput and AssistantModal to utilize the new validation logic, ensuring URLs are properly validated and sanitized.
- Added state management for dynamic width adjustment of the artifacts display based on chat area utilization.
- Implemented a ResizeObserver to detect space usage and adjust the layout accordingly, improving responsiveness.
- Updated the share artifact functionality to ensure at least one email is provided before sharing.
- Refactored ArtifactsContentBlock for improved styling consistency.
…pport

- Integrated createPortal for the ImportAnythingModal to improve rendering within the DOM.
- Added lightMode state to dynamically adjust modal styling based on user preferences.
- Cleaned up legacy workspace action hint for better visual alignment.
- Modified the condition for displaying the rotation warning label to include a check for the absence of the apiKey purpose.
- Adjusted the rendering logic for the RotateApiKey component to ensure it only appears when the apiKey has no purpose, enhancing clarity in the UI.
Bug Fix - Update ApiKeys Component Logic for Rotation Warning
- Updated AdminUI to include rate limit handling for Amplify groups, ensuring proper defaults for billing groups.
- Improved UserCostModal with new billing groups functionality, including fetching and displaying costs, enhanced search capabilities, and CSV download options.
- Refactored ConfigurationsTab to manage billing group settings and rate limits more effectively.
- Added utility functions for formatting currency and handling MTD costs across components.
- Enhanced API key management with MTD cost display for better user insights.
Enhance Admin UI and User Cost Management and Rate Limiting Features
- Introduced a button to add new models and improved the UI for editing model names.
- Updated the endpoint testing logic to differentiate between O models and regular models, adjusting the request body accordingly.
- Implemented model name validation to ensure uniqueness and prevent default names.
- Enhanced the overall user experience in managing OpenAI endpoints within the Admin UI.
Enhance OpenAI Endpoints Management
- Removed the Pricing page component to streamline the application.
- Updated UserCostModal to replace "Platform Cost" with "Token Cost" for clarity.
- Changed the header in UserCostModal to reflect "Token Total" instead of "Platform Total".
Refactor UserCostModal and Remove Pricing Page
…ve in a compressed state

- Introduced the AssistantReasoningMessage component to display reasoning content in chat messages.
- Refactored agent log retrieval across multiple components to use a new utility function, getAgentLog, improving code consistency and readability.
- Updated logic in AgentFileBlock, AgentImageBlock, AgentTableBlock, and AgentLogBlock to handle agent logs more efficiently.
- Enhanced PromptingStatusDisplay to combine reasoning status messages for better user experience.
Add AssistantReasoningMessage component and refactor agent logs to li…
- Updated the `useSendService` hook to remove unnecessary timestamp parameter in `handleAgentRun`.
- Simplified the `getLatestAgentState` and `listenForAgentUpdates` functions by removing the timestamp argument, enhancing clarity and consistency in agent state management.
Support Thinking Messages + Agent Log Bug Fix
…dpoints in adminService

- Introduced `isCompletionsEndpoint` function to identify completions URLs.
- Added `translateDataToResponseBody` function to transform request data for non-completions endpoints, ensuring proper handling of input and output tokens.
- Updated `testEndpoint` to apply data transformation conditionally based on the endpoint type.
Admin Test Endpoints - Add data transformation for non-completions en…
Replace per-file toast spam with single summary toast for batch deletions. Track success/failure per file and show detailed feedback including filenames for any failures. Single file deletions retain individual toast behavior.
@karnsab karnsab merged commit efee9ba into main Nov 20, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants