Commit graph

127 commits

Author SHA1 Message Date
BaiFu
e5dbeb297a
Add GNU AGPL v3 License
Added the GNU Affero General Public License version 3 to the project.
2025-12-19 15:24:16 +08:00
666ghj
abd4656914 Remove file 2025-12-19 15:18:41 +08:00
666ghj
fb3b41253f Update README 2025-12-19 14:22:11 +08:00
666ghj
4ddbb9dfd4 Update README files to remove strong tag and add line break for improved formatting 2025-12-19 14:18:10 +08:00
666ghj
d787ebc649 Add English README file for MiroFish project
- Introduced a new README-EN.md file to provide English documentation for the MiroFish project.
- Included an overview of the project, vision, demo videos, quick start guide, and environment variable configuration.
- Updated the existing README.md to link to the new English documentation.
2025-12-19 14:16:42 +08:00
BaiFu
43d80c5ae1
Increase logo width in README 2025-12-19 14:01:15 +08:00
BaiFu
2c398569ef
Resize logo image to 70% width in README 2025-12-19 14:00:34 +08:00
666ghj
5a67cd3ced Update README.md to adjust logo display size for improved responsiveness 2025-12-19 13:59:36 +08:00
666ghj
a47eb1eaef Refactor project structure by removing Docker support and updating environment configuration
- Deleted docker-compose.yml, backend Dockerfile, frontend Dockerfile, and nginx configuration to streamline project setup.
- Updated .env.example to reorganize LLM and ZEP API configurations for clarity and ease of use.
- Enhanced README.md to reflect changes in project structure and provide clearer setup instructions.
2025-12-19 13:58:35 +08:00
666ghj
136843ada9 Initialize project with version 0.1.0 and update package configurations
- Created package-lock.json for dependency management.
- Updated package.json and frontend package.json to version 0.1.0.
- Adjusted backend pyproject.toml to reflect version 0.1.0.
- Introduced uv.lock for Python dependency resolution.
2025-12-18 18:30:29 +08:00
666ghj
97a64947d4 Update project license to Apache-2.0 in package.json, README.md, and pyproject.toml 2025-12-17 18:33:01 +08:00
BaiFu
929163524d
Add Apache License 2.0 to the project 2025-12-17 18:30:03 +08:00
666ghj
08688a892d Update project setup scripts and enhance README for clarity
- Modified the backend setup script to clear the virtual environment before installation.
- Improved README.md by restructuring the prerequisites section into a table for better readability.
- Added installation instructions for the `uv` package and clarified terminal requirements post-installation.
2025-12-17 18:26:09 +08:00
666ghj
e432e223df Update project configuration and structure with Docker support and environment variable adjustments
- Updated .env.example to reflect new LLM configuration with Aliyun's API.
- Enhanced .gitignore to include additional files and directories for better exclusion of sensitive and build artifacts.
- Added docker-compose.yml for streamlined deployment of backend and frontend services.
- Introduced Dockerfiles for both backend and frontend to facilitate containerized builds.
- Created README.md to provide comprehensive project documentation and setup instructions.
- Established nginx configuration for frontend to support API proxying and static file serving.
2025-12-17 18:17:40 +08:00
666ghj
e2b1a1554d Enhance Step4Report component with section numbering and improved scroll behavior
- Added section numbering to the report sections for better clarity.
- Unified scroll behavior to reset to the top upon task completion, while scrolling to the bottom for ongoing tasks.
- Updated CSS styles for section numbers to improve visual consistency.
2025-12-16 23:41:05 +08:00
666ghj
99c1b199d5 Update ReportAgent to reduce maximum tool calls and iterations for improved efficiency
- Decreased the maximum tool calls per section from 8 to 5.
- Reduced the maximum iterations in the ReACT loop from 8 to 5, streamlining the report generation process.
2025-12-16 22:47:14 +08:00
666ghj
efc7fbc4f7 Enhance Step5Interaction component to improve response handling and survey result processing
- Updated response handling to prioritize replies from Reddit over Twitter and ensure compatibility with both object and array formats.
- Refactored survey result processing to convert response data into a structured array, maintaining clarity and consistency in agent responses.
- Improved error handling and logging for better debugging and user feedback.
2025-12-16 22:41:12 +08:00
666ghj
d096aa2b26 Remove outdated README.md and update favicon in index.html
- Deleted the backend README.md file as it was no longer needed.
- Changed the favicon from a SVG to a PNG format for better compatibility.
- Updated the page title in index.html to reflect a more concise branding message.
2025-12-16 20:58:48 +08:00
666ghj
9db7781ee3 Enhance Step5Interaction component with improved tool description and memory feature
- Updated the subtitle of the Report Agent Tools Card to highlight the agent's capability of utilizing MiroFish's complete memory.
- This enhancement aims to provide users with clearer information about the tool's functionality and its advantages in report generation.
2025-12-16 20:17:31 +08:00
666ghj
cc094e48ce Implement chat history caching and enhance message rendering in Step5Interaction component
- Added chat history caching to preserve conversation records for report agents and selected agents.
- Introduced a method to save and restore chat history based on the selected target.
- Improved message rendering by cleaning up unnecessary <br> tags and ensuring proper list formatting with CSS.
- Automatically save chat history upon sending messages for better user experience.
2025-12-16 20:03:17 +08:00
666ghj
78c8c43699 Add Report Agent Tools Card to Step5Interaction component 2025-12-16 19:53:43 +08:00
666ghj
4bd3c856f5 Enhance Step5Interaction component with updated UI elements and improved functionality
- Added an action bar icon and adjusted layout for better visual appeal and usability.
- Updated button labels to Chinese for improved localization.
- Introduced a new method for selecting the survey tab, enhancing user interaction.
- Adjusted CSS styles for better responsiveness and alignment of elements within the action bar and dropdowns.
2025-12-16 19:17:35 +08:00
666ghj
c43b83f10d Enhance Step5Interaction component with professional design updates and improved UI elements
- Updated the action bar to a more professional design with enhanced layout and styling.
- Introduced new utility classes for better typography and spacing.
- Improved button styles for clarity and consistency, including updated labels for interaction buttons.
- Enhanced dropdown menu design for better usability and visual appeal.
- Adjusted CSS properties for improved responsiveness and overall user experience.
2025-12-16 19:05:37 +08:00
666ghj
318d60fa42 Refactor Step5Interaction component to streamline profile display and remove unused topics section
- Combined conditions for displaying the profile card body and bio for improved clarity.
- Removed the topics section and associated CSS styles to simplify the component and enhance user experience.
2025-12-16 18:55:30 +08:00
666ghj
c738d7edfb Refactor Step5Interaction component to enhance user interaction and UI elements
- Replaced tab switcher with a unified action bar for improved navigation and functionality.
- Introduced an agent dropdown for selecting conversation targets, enhancing user experience.
- Updated button labels for clarity and consistency in the interaction interface.
- Adjusted CSS styles for better layout and responsiveness across components.
- Reduced margin in Step4Report for a more compact design.
2025-12-16 18:36:15 +08:00
666ghj
cb47e9859c Update ReportAgent to enhance report retrieval and streamline tool call process
- Reduced maximum tool calls per chat from 5 to 2 for improved efficiency.
- Simplified system prompt to focus on concise responses and report content.
- Implemented report content retrieval with length limitation to prevent context overflow.
- Adjusted tool call execution to limit to one call per iteration, enhancing clarity in responses.
- Updated user message prompts to encourage concise answers based on retrieved data.
2025-12-16 17:59:34 +08:00
666ghj
70922a3525 Implement interaction features in Step5Interaction component and add routing for interaction view
- Introduced the Step5Interaction component for user interaction with report agents and simulation profiles.
- Added chat functionality to communicate with report agents and selected simulation agents.
- Implemented a survey feature to gather responses from multiple agents.
- Enhanced routing by adding a new InteractionView for seamless navigation to the interaction interface.
- Updated the router configuration to include the new interaction route.
- Improved UI elements and styles for better user experience in the interaction process.
2025-12-16 17:50:43 +08:00
666ghj
3b20672527 Enhance Step4Report component with improved result display and layout adjustments
- Updated InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components to include result length in the header for better context.
- Refined the layout of entity displays to a compact grid format, improving visual organization and accessibility.
- Enhanced styling for various display elements, including updated labels for clarity and consistency across components.
- Introduced new CSS classes for better styling control and responsiveness in the display components.
2025-12-16 17:23:01 +08:00
666ghj
e3b82e6e9f Refactor Step4Report component to remove tab icons for a cleaner interface
- Eliminated tab icons from InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components to streamline the user interface.
- Improved overall layout and styling for better visual clarity and user experience.
2025-12-16 17:02:44 +08:00
666ghj
6bf1f2937a Enhance Step4Report component with comprehensive data parsing and improved display
- Introduced new parsing logic for simulation requirements, sub-queries, and key facts, ensuring complete data extraction from input text.
- Enhanced the InsightDisplay, PanoramaDisplay, and QuickSearchDisplay components with tabbed navigation for better organization of facts, entities, relations, and sub-queries.
- Improved styling and layout for all display components, ensuring a cohesive user experience with clear visual hierarchy and interactive elements.
- Added support for displaying historical and active facts in the PanoramaDisplay, enhancing the depth of information presented to users.
2025-12-16 16:56:41 +08:00
666ghj
c811f454ab Enhance Step4Report component with individual selection reason parsing and display
- Introduced a new function to parse individual selection reasons from interview text, accommodating multiple formats for better accuracy.
- Updated the interview object to include a selection reason property, ensuring each interview displays the corresponding rationale.
- Enhanced the InterviewDisplay component to render selection reasons with improved styling for better visibility and user experience.
2025-12-16 16:09:30 +08:00
666ghj
1659665a0b Refactor interview parsing and answer splitting logic in Step4Report component
- Enhanced the `parseInterview` function to handle single-platform answers more effectively, ensuring default answers are set correctly.
- Improved the answer splitting logic to robustly identify numbered sections, accommodating various formats and ensuring cleaner output.
- Updated the handling of answer parts to remove unnecessary prefixes and trailing whitespace, enhancing overall readability.
2025-12-16 15:57:02 +08:00
666ghj
5f228357d5 Refactor Step4Report component for enhanced workflow display and loading states
- Removed section number display for a cleaner layout and improved user interaction.
- Updated loading icon colors for better visibility and consistency.
- Introduced a computed property for the active step to enhance workflow tracking.
- Added utility functions to manage main section indexing and subsection identification.
- Enhanced content rendering by removing redundant headings and improving markdown processing.
- Updated agent log handling to ensure accurate section indexing and loading state management.
- Improved panel header styling with status-based variants for better visual feedback.
2025-12-16 15:44:39 +08:00
666ghj
daae4718b4 Enhance Step4Report component with tool-specific icons and improved action buttons
- Introduced dynamic tool icons and colors based on tool type for better visual representation in tool calls and results.
- Updated action buttons for toggling parameters and views, improving user interaction and layout consistency.
- Refactored the InterviewDisplay component to include result length and enhanced quote formatting for better readability.
- Improved overall styling and layout adjustments for a more cohesive user experience.
2025-12-16 14:29:25 +08:00
666ghj
705bebea7f Enhance Step4Report component with workflow overview and improved styling
- Updated the component to include a detailed workflow overview, displaying sections, elapsed time, and tool usage metrics.
- Improved the visual hierarchy and styling of workflow steps, including status indicators and enhanced timeline item presentation.
- Refined scrollbar styles and adjusted padding for a cleaner layout and better user experience.
2025-12-16 13:51:03 +08:00
666ghj
4385f17a86 Update Step4Report component for improved localization and scrollbar styling
- Changed the label from "Agent Workflow" to "Rport Agent实时活动" for better localization.
- Increased the scrollbar width from 4px to 6px and enhanced the scrollbar thumb styling for improved visibility and user interaction.
2025-12-16 12:26:22 +08:00
666ghj
0f6395b6ab Update Step4Report component header and padding for improved clarity and layout
- Changed the report tag from "REPORT" to "Prediction Report" for better context.
- Adjusted padding in the left panel to enhance layout consistency and user experience.
2025-12-16 11:37:34 +08:00
666ghj
2247d3d1a7 Refactor Step4Report component for improved layout and user experience
- Updated the left panel to focus on report styling, enhancing the visual hierarchy with a new report header and section list layout.
- Introduced collapsible sections for better content management, allowing users to expand or collapse completed sections.
- Enhanced styling for report elements, including titles, summaries, and section indicators, to improve readability and aesthetics.
- Implemented a loading state for sections currently being generated, providing users with feedback during content processing.
2025-12-16 11:24:22 +08:00
666ghj
c6d26fc343 Refactor Step4Report component to implement Q&A format for interview display
- Updated the InterviewDisplay component to adopt a Q&A format, enhancing user interaction with distinct question and answer sections.
- Introduced platform-specific answer toggling between Twitter and Reddit, allowing users to switch views seamlessly.
- Improved answer formatting and expanded answer display logic to accommodate varying lengths and content structures.
- Enhanced styling for a more cohesive and visually appealing layout, including adjustments to badges, buttons, and overall spacing.
2025-12-16 10:36:36 +08:00
666ghj
ab8b11606d Update height in Step3Simulation and Step4Report components for improved layout consistency 2025-12-15 11:52:10 +08:00
666ghj
b8817aa9cf Enhance Step4Report component with detailed interview parsing and improved display
- Updated the `parseInterview` function to extract additional details such as success count, total count, and selection reason from interview text.
- Refactored interview record extraction to improve clarity and structure, including better handling of questions and answers.
- Introduced platform-specific answer display for Twitter and Reddit, allowing users to toggle between responses.
- Enhanced the interview display layout with agent profile cards, conversation threads, and key quotes sections for a more engaging user experience.
- Updated styles for improved visual consistency and usability across the component.
2025-12-15 00:09:34 +08:00
666ghj
0fa2363104 Update maximum limits for tool calls and iterations in ReportAgent class
- Increased the maximum tool calls per section from 4 to 8, enhancing the agent's capabilities.
- Raised the maximum reflection rounds from 2 to 3 to allow for deeper analysis.
- Adjusted the maximum tool calls per chat from 3 to 5 for improved interaction.
- Expanded the maximum agents for interviews from 5 to 20, facilitating more comprehensive data gathering.
- Increased the maximum iterations for ReACT loops from 5 to 8 and from 3 to 5 in different contexts, optimizing the report generation process.
2025-12-14 23:36:44 +08:00
666ghj
a097de4094 Enhance text output formatting and remove truncation in zep_tools.py
- Updated the `to_text` method in the `PanoramaResult` class to provide complete outputs for current facts, historical facts, and involved entities, improving data visibility.
- Modified the `to_text` method in the `AgentInterview` class to display the full agent bio without truncation.
- Adjusted the `ZepToolsService` class to retrieve all related entity details and facts without limiting the output, ensuring comprehensive data representation.
2025-12-14 22:41:46 +08:00
666ghj
2215c47453 Refactor Step4Report component styles for improved transitions and layout
- Removed custom scrollbar styles to simplify the design and enhance performance.
- Updated transition effects for slide content to focus on opacity changes, improving visual feedback during content changes.
- Streamlined CSS by eliminating unnecessary properties, contributing to cleaner and more maintainable code.
2025-12-14 12:56:38 +08:00
666ghj
be90a46cb4 Add custom scrollbar styles for left and right panels in Step4Report component
- Introduced custom scrollbar styles for both left and right panels to enhance the visual appearance and user experience.
- Adjusted scrollbar width, track background, and thumb colors for improved aesthetics and usability.
2025-12-14 03:43:40 +08:00
666ghj
1db72dcd6b Remove status bar from Step4Report component to streamline UI and improve layout. This change simplifies the report display by eliminating unnecessary elements, enhancing user experience and focus on content. 2025-12-14 03:32:47 +08:00
666ghj
9be2c28a5d Refactor report logging and enhance report generation features
- Renamed log_section_complete to log_section_content to better reflect its purpose, and added is_subsection parameter for improved logging of subsection content.
- Introduced log_section_full_complete method to log the completion of entire sections, including all subsections, enhancing tracking of report generation status.
- Adjusted maximum tool call limits for sections and chats to optimize performance during report generation.
- Updated system prompts and user prompts in the ReportAgent class to clarify the report's focus on future predictions rather than current analysis.
- Enhanced the Step3Simulation and Step4Report components for improved user experience, including UI updates and better handling of report generation states.
2025-12-14 03:28:41 +08:00
666ghj
fde79721e8 Enhance agent bio display and tool result presentation in Step4Report component
- Updated the AgentInterview class to display the full agent bio, truncating only if it exceeds 1000 characters for better readability.
- Enhanced the Step4Report component to include structured display for tool results, allowing users to toggle between raw and structured views for various tools, improving user experience and clarity.
- Introduced new components for parsing and displaying results from different tools, including InsightForge, PanoramaSearch, InterviewAgents, and QuickSearch, providing a comprehensive view of the data.
2025-12-14 01:29:57 +08:00
666ghj
851b12dfd9 Adjust max-height of report display in Step4Report component for improved visibility 2025-12-13 21:59:10 +08:00
666ghj
f904407741 Implement report generation features and UI enhancements
- Added a new API for generating reports, including functions to retrieve report status, agent logs, console logs, and report details.
- Enhanced the Step3Simulation component to manage report generation with loading indicators and improved user feedback during the process.
- Introduced a new Step4Report component to display report details and logs, providing a comprehensive view of the report generation workflow.
- Updated routing to include a dedicated report view, improving navigation and user experience in the application.
2025-12-13 21:49:34 +08:00