Commit graph

  • 0d05842c28 Update Go module dependencies and version in go.mod and go.sum Max 2025-01-02 11:07:04 +08:00
  • fd5d701a23 Refactor assistant loading and initialization in Neo API Max 2025-01-01 17:34:17 +08:00
  • 8d320f0e41 Enhance assistant struct with tags and options handling in Neo API Max 2025-01-01 16:55:11 +08:00
  • f8ce8fc193 Enhance assistant management and API functionality in Neo Max 2025-01-01 16:48:06 +08:00
  • d0d110b0ec Refactor assistant management and enhance storage retrieval in Neo API Max 2025-01-01 12:31:47 +08:00
  • e530ccc1cd Refactor conversation management and migrate to store-based architecture in Neo API Max 2025-01-01 10:43:05 +08:00
  • 238347c834 Refactor message handling and enhance file reading capabilities in Neo API Max 2024-12-31 16:01:48 +08:00
  • d55bfef374
    Merge pull request #812 from trheyi/main Max 2024-12-31 07:17:11 +08:00
  • 882277d974 Enhance assistant filtering and management in Neo API Max 2024-12-29 17:30:33 +08:00
  • 94f3ddb158 Enhance assistant management and JSON field handling in Neo API Max 2024-12-29 17:14:01 +08:00
  • af65a2d5fa Refactor assistant management and enhance API response structure Max 2024-12-29 12:57:17 +08:00
  • de49788d52 Add utility endpoint for listing connectors in Neo API Max 2024-12-29 11:27:40 +08:00
  • 697facb23d Enhance Neo API with detailed endpoint examples and improved documentation Max 2024-12-29 11:13:57 +08:00
  • 8fafdc5855 Enhance assistant management in Neo API and conversation module Max 2024-12-29 11:06:41 +08:00
  • b17778afea Add assistant management functionality in conversation module Max 2024-12-29 10:03:38 +08:00
  • 8166503058 Refactor assistant table structure in Xun implementation Max 2024-12-28 17:19:01 +08:00
  • f022b79518 Add 'functions' field to assistant table in Xun implementation Max 2024-12-20 16:24:00 +08:00
  • 6f6c0b3d6f Enhance assistant table structure by adding 'files' field Max 2024-12-20 16:21:53 +08:00
  • 76e7156dac Refactor assistant structure and replace base assistant with local implementation Max 2024-12-20 15:48:28 +08:00
  • af52dd35a1 Refactor conversation history handling and enhance Assistant structure Max 2024-12-20 12:30:31 +08:00
  • 33b28b50f4 Enhance SSE error handling in handleGenerateTitle method Max 2024-12-19 17:15:44 +08:00
  • c1e95374f2 Update GenerateChatTitle method to include silent mode in chat handling Max 2024-12-19 16:52:43 +08:00
  • a90d1d5a0a Enhance Neo API with new generation endpoints and improved SSE handling Max 2024-12-19 16:27:51 +08:00
  • fc1cbb2457 Add OPTIONS routes for new generation endpoints in Neo API Max 2024-12-19 15:16:08 +08:00
  • 375ad96e9d Add generate endpoints and improve response handling in Neo API Max 2024-12-19 15:13:38 +08:00
  • ef6c39b87a
    Merge pull request #811 from trheyi/main Max 2024-12-19 09:59:47 +08:00
  • 67c76fa933 Update go.mod and go.sum to upgrade golang.org/x/net to v0.33.0 Max 2024-12-19 09:56:43 +08:00
  • 35168845ae Enhance mentions handling in Neo API Max 2024-12-17 18:45:16 +08:00
  • 13e17ae386 Enhance chat handling and API response in Neo Max 2024-12-17 17:04:22 +08:00
  • 9598d000cd Enhance chat retrieval in Xun by adding filtering and validation Max 2024-12-17 11:18:00 +08:00
  • fe8b3df163 Add chat deletion endpoints and handlers in Neo API Max 2024-12-17 10:36:03 +08:00
  • 7f9307dbdd Add chat deletion functionality across conversation implementations Max 2024-12-17 10:27:44 +08:00
  • 9db67a2456 Refactor chat retrieval in Neo API to support filtering and pagination Max 2024-12-17 10:18:37 +08:00
  • f666070bb3 Add user field support in conversation settings and enhance user ID retrieval in Xun Max 2024-12-17 09:54:57 +08:00
  • b3bc843235 Enhance chat update functionality and introduce chat title generation in Neo API Max 2024-12-16 19:59:23 +08:00
  • 869ed3717a Add chat update functionality and enhance API endpoints in Neo API Max 2024-12-16 17:46:17 +08:00
  • eadc550980 Add chat detail and mentions handling in Neo API Max 2024-12-16 17:36:02 +08:00
  • 2da7c30ac5 Refactor query handling in Xun conversation management Max 2024-12-16 12:37:11 +08:00
  • b34f97ac2a Add file download functionality to Neo API Max 2024-12-16 11:07:22 +08:00
  • 3fbcd4a5e1 Add support for JSON file type in AllowedFileTypes across assistant modules Max 2024-12-15 09:54:18 +08:00
  • 773e050925 Implement file upload functionality in Neo API, adding new endpoint for file uploads and enhancing assistant management. Introduce handleUpload method to process file uploads, including size and type validation. Update context to include upload information and refactor assistant selection logic for improved clarity. Enhance error handling and response structure for file upload operations, ensuring robust communication of success and failure states. Max 2024-12-14 19:39:14 +08:00
  • c98a402e54 Refactor Neo API chat handling to improve AI interaction and error management. Introduce background processing for chat with AI, enhancing responsiveness and client handling. Update assistant initialization logic to streamline the creation of OpenAI assistants and ensure proper error handling. Modify message struct to support structured error responses, improving clarity in communication. Additionally, clean up unused code and enhance overall maintainability of the assistant management system. Max 2024-12-14 17:45:40 +08:00
  • c8643bbe45 Refactor HookCreate and assistant management in Neo API to improve response handling and streamline assistant creation. Update HookCreate to return structured CreateResponse with AssistantID and ChatID, enhancing error handling. Modify Load function to create the default assistant after querying the assistant list, ensuring proper initialization. Refactor newAssistant methods for better clarity and maintainability, and update types to include CreateResponse struct for improved response management. Max 2024-12-14 14:53:01 +08:00
  • 6c244d8788 Refactor Neo API to enhance CORS handling and streamline endpoint registration. Introduce OPTIONS handlers for all endpoints, improve CORS middleware logic, and reorganize assistant creation flow in load.go. Additionally, add a delay in the Answer method to ensure proper retrieval of assistant and chat IDs. Max 2024-12-14 13:03:05 +08:00
  • 79ee5b75f9 Refactor error handling in Neo API to streamline message creation. Replace map-based error responses with a more concise error method in the message struct, enhancing readability and maintainability. Update related functions to ensure consistent error messaging across chat handling and response writing. Max 2024-12-13 19:49:54 +08:00
  • 2ebc29d6f7 Enhance Neo API and conversation management by adding support for server-sent events (SSE) in chat handling, improving error messaging with structured responses, and refactoring assistant creation logic. Update conversation settings to utilize a new assistant model and implement context management improvements for better performance. Additionally, streamline the DSL structure and enhance test coverage for chat functionalities. Max 2024-12-13 17:51:13 +08:00
  • 1c078a5d2e Refactor Neo DSL tests and API structure by removing unused handlers, enhancing conversation management, and implementing new test cases for prompts, chat messages, and history saving. Introduce custom response recorder for improved testing and mock AI for simulating responses. Max 2024-12-13 11:17:00 +08:00
  • d69247cdbe
    Merge pull request #810 from trheyi/main Max 2024-12-13 01:13:00 +08:00
  • cd01149db1 Update dependencies in go.mod and go.sum; upgrade golang.org/x/crypto to v0.31.0, golang.org/x/text to v0.21.0, golang.org/x/sync to v0.10.0, and golang.org/x/sys to v0.28.0. Modify process initialization in cmd/run.go to use context for improved execution management. Max 2024-12-13 01:02:22 +08:00
  • de7f5fc9b1 Enhance NewContext function to include ChatID parameter for improved context management Max 2024-12-12 20:21:02 +08:00
  • 153efc1a49 Refactor command handling and conversation management by removing the command package, updating conversation methods to support chat IDs, and enhancing API functionality for chat history and titles. This includes adjustments to the DSL context and conversation settings for improved data handling. Max 2024-12-12 16:37:59 +08:00
  • b698846a35
    Merge pull request #809 from trheyi/main Max 2024-12-09 09:40:58 +08:00
  • 319faff110 Remove outdated issue templates and update contact links in config.yml Max 2024-12-09 09:40:30 +08:00
  • 149f161a33
    Merge pull request #808 from trheyi/main Max 2024-12-04 18:23:58 +08:00
  • 001d23756f Improve README.md to clarify app creation methods and emphasize programming capabilities Max 2024-12-04 18:21:47 +08:00
  • f05c1d3bf8 Revise README.md to enhance clarity and provide a concise overview of Yao's features and capabilities Max 2024-12-04 18:17:20 +08:00
  • 403d5ad0ba
    Merge pull request #807 from trheyi/main Max 2024-12-04 11:39:22 +08:00
  • 401fd3aa94 Fix code signing command and update .gitignore to exclude shell scripts Max 2024-12-04 11:38:52 +08:00
  • 46f4d55dc2
    Merge pull request #806 from trheyi/main Max 2024-12-04 09:47:58 +08:00
  • 7ddacd70f9 Update Go version in macOS build workflow to 1.23.4 Max 2024-12-04 09:47:30 +08:00
  • 7f33a540a8
    Merge pull request #805 from trheyi/main v0.10.4-rc.1 Max 2024-12-03 19:02:50 +08:00
  • 8bd097274c Update macOS build workflow Max 2024-12-03 19:02:21 +08:00
  • 2de63cb0f9
    Merge pull request #804 from trheyi/main Max 2024-12-03 18:56:59 +08:00
  • 03d98d9a5a Enhance macOS build workflow with code signing verification and submission to Apple Notary Service Max 2024-12-03 18:55:59 +08:00
  • fb2be5db47
    Merge pull request #803 from trheyi/main Max 2024-12-03 17:02:28 +08:00
  • a420e71118 Translate error messages in login process to English for improved clarity Max 2024-12-03 16:55:33 +08:00
  • 0bcb56a654
    Merge pull request #802 from trheyi/main Max 2024-12-03 16:42:12 +08:00
  • 68a97a48e6 Update URL handling in request data to use mapped URL Max 2024-12-03 16:21:52 +08:00
  • d4f5a434a8 Improve error message for missing app.yao file for better clarity Max 2024-12-03 16:10:59 +08:00
  • a0885c9268
    Merge pull request #801 from trheyi/main Max 2024-12-02 19:16:14 +08:00
  • e1af3a8a27 Translate captcha and password validation error messages to English for improved clarity Max 2024-12-02 19:15:44 +08:00
  • d6f134f084
    Merge pull request #800 from trheyi/main Max 2024-11-30 18:24:47 +08:00
  • 2c5b323d7d Add option to disable Gzip compression for static files and update headers Max 2024-11-30 18:23:21 +08:00
  • 2f88e5c58c
    Merge pull request #799 from trheyi/main Max 2024-11-29 20:51:03 +08:00
  • 1d414bceb8 Fix endpoint URL formatting to handle default port correctly Max 2024-11-29 20:50:24 +08:00
  • 90b8760a9b
    Merge pull request #798 from trheyi/main Max 2024-11-29 20:44:16 +08:00
  • 6b6edab97c Refactor network handling and endpoint retrieval; deprecate unused commands in startup Max 2024-11-29 20:43:29 +08:00
  • ce5de70b76
    Merge pull request #797 from trheyi/main Max 2024-11-29 19:48:10 +08:00
  • 8388b78a0e Update community link text in welcome message for clarity Max 2024-11-29 19:47:12 +08:00
  • d9475988ff Add community link to welcome message and adjust documentation spacing Max 2024-11-29 19:45:42 +08:00
  • 675a0c40d3
    Merge pull request #796 from trheyi/main Max 2024-11-29 18:44:41 +08:00
  • c6cdf1115a Enhance startup output by adding runtime, data, and listening information; update frontend and dashboard labels to website and admin Max 2024-11-29 17:58:29 +08:00
  • 95dc351fa0 Deprecate Yao Studio functionality and comment out related code Max 2024-11-29 17:43:38 +08:00
  • d7693a0487 Refactor startup logic to improve directory checks and enhance welcome message display Max 2024-11-29 17:36:45 +08:00
  • 79f77618d3 Remove setup package and related functionality from the project Max 2024-11-29 16:44:31 +08:00
  • 656bc167f0
    Merge pull request #795 from trheyi/main Max 2024-11-29 15:27:37 +08:00
  • 83fc43cc52 Enable Docker Content Trust for all build jobs in workflow files Max 2024-11-29 15:27:03 +08:00
  • 6accd97dba
    Merge pull request #794 from trheyi/main Max 2024-11-29 15:09:50 +08:00
  • c78e169fbc Enable Docker Content Trust in build workflows Max 2024-11-29 15:09:16 +08:00
  • df44124ffb
    Merge pull request #793 from trheyi/main Max 2024-11-29 14:39:41 +08:00
  • 5bf6044cf0 Update Dockerfiles to use Ubuntu 24.04 and change download source for Yao binary Max 2024-11-29 14:38:41 +08:00
  • b0b70a8e1b
    Merge pull request #792 from trheyi/main Max 2024-11-29 13:37:33 +08:00
  • dc43e9ca4f Update build-linux.yml and Dockerfile for environment improvements and AWS CLI installation Max 2024-11-29 13:37:06 +08:00
  • d42842f3d9
    Merge pull request #791 from trheyi/main Max 2024-11-29 12:27:17 +08:00
  • d176ef904d Update build-linux.yml to use ubuntu-latest instead of ubuntu-22.04 Max 2024-11-29 12:26:45 +08:00
  • e5b7d0fc92
    Merge pull request #790 from trheyi/main Max 2024-11-29 12:24:58 +08:00
  • b10fe0ac38 Refactor build-linux.yml to replace Coscmd with AWS CLI for R2 configuration and upload Max 2024-11-29 12:24:18 +08:00
  • 3526508ba7
    Merge pull request #789 from trheyi/main Max 2024-11-29 11:54:07 +08:00
  • d15bd28cec Update build-linux.yml to include apt-get update before installing dependencies Max 2024-11-29 11:53:31 +08:00
  • 8a0439ff19
    Merge pull request #788 from trheyi/main Max 2024-11-29 11:31:11 +08:00