Commit graph

73 commits

Author SHA1 Message Date
Max
c9917f8193 Enhance messenger functionality with context support and environment variable resolution
- Added context support to Send and SendBatch methods across all messenger providers (Twilio, Mailgun, SMTP).
- Implemented environment variable resolution in provider configurations to enhance flexibility.
- Updated Load function in the engine to include messenger loading, ensuring all components are initialized properly.
- Refactored related tests to validate new context handling and configuration parsing, improving overall robustness.
2025-09-26 17:39:10 +08:00
Max
2f13dbbffb Enhance attachment model and add local uploader support
- Introduced a new `Groups` field in the `Attachment` struct to support categorization of attachments.
- Integrated `types.MetaInfo` into `ManagerOption` for improved metadata handling.
- Added a local uploader for attachments, enabling file uploads from a specified local path.
- Updated asset management functions to reflect changes in file metadata and structure.
2025-07-25 18:15:51 +08:00
Max
40519e8429 Refactor Knowledge Base loading in Load and Reload functions
- Moved Knowledge Base loading logic from the Load function to ensure it is consistently handled in both Load and Reload functions.
- Improved error handling by printing errors during Knowledge Base loading in the Reload function, enhancing user feedback.
2025-07-23 17:56:51 +08:00
Max
d25ce68ab9 Enhance CI workflows and Knowledge Base integration
- Updated GitHub Actions workflows to use the latest Ubuntu version and added services for Neo4j, Qdrant, and FastEmbed.
- Integrated FFmpeg and additional utilities into the CI environment, ensuring they are installed and tested during the workflow.
- Implemented environment variable resolution in the Knowledge Base configuration, allowing dynamic configuration based on environment settings.
- Added tests for environment variable resolution in the Knowledge Base configuration, ensuring correct parsing and handling of variables.
2025-07-23 17:42:10 +08:00
Max
b96a400869 Add OpenAPI support and enhance configuration handling
- Integrated OpenAPI loading functionality into the engine's Load and Reload processes, allowing for better API management.
- Updated the OpenAPI configuration to set a default BaseURL and ensure it does not have a trailing slash.
- Implemented the Attach method to connect the OpenAPI server to the Gin router, facilitating API endpoint management.
- Removed the obsolete hello package to streamline the OpenAPI module.
2025-07-20 18:52:30 +08:00
Max
c74916296a Enhance model definitions and loading process for system models
- Added new system models for assistant, attachment, audit, chat, config, dsl, history, and kb with metadata including tags, built-in status, read-only attributes, and sort order.
- Refactored the model loading process to include a dedicated function for loading system models, improving organization and maintainability.
- Updated the application loading logic to set a default prefix for system tables, ensuring consistent naming conventions.
- Improved error handling during model loading and migration processes for better reliability.
2025-07-15 16:33:14 +08:00
Max
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +08:00
Max
c5a5a8432f Remove deprecated import and storage API loading from the codebase 2024-11-06 09:25:29 +08:00
Max
097bf45583 refactor: Replace $ENV with os.Getenv in loadApp function 2024-07-15 10:42:15 +08:00
yflau
63df367bad
support custom loaders
it's useful for custom widgets or processes loaders to use the initialized config.Config in engine.Load
2024-05-07 16:52:43 +08:00
Max
9faf8f802f chore: Update engine.Load calls with additional options 2024-05-05 17:54:32 +08:00
Max
0703743e72 Add AfterLoad process execution in Load and Reload functions 2024-05-02 19:49:43 +08:00
Max
ae599ec2e7 [add] pipe widget (dev) 2024-02-12 21:08:31 +08:00
Max
c19d4b0534 [add] moapi process and api 2023-11-10 01:37:09 +08:00
Max
ab7ace8a24 [add] SUI API 2023-09-27 18:56:25 +08:00
Max
3947c64ff8 [Feature] Support custom widget (refactor widget) 2023-06-14 23:15:18 +08:00
Max
af5d97794a fix setup bugs 2023-05-18 15:28:22 +08:00
Max
46ad1e761c [add] yao.table.Load & yao.form.Load & fix reload 2023-05-11 22:20:02 +08:00
Max
522380511d [add] Neo studio api 2023-05-08 18:42:50 +08:00
Max
7ee7de96c9 [add] Neo (70%) 2023-04-30 14:21:45 +08:00
Max
b210aa7ab5 [_] 2023-04-27 22:48:20 +08:00
Max
ce4aaf667f [fix] setup & config 2023-04-24 17:38:29 +08:00
Max
0c438d088a [add] load application from bin data 2023-04-24 11:58:10 +08:00
Max
082bcf57ff [add] pack & start command support license 2023-04-23 10:57:28 +08:00
Max
49430cf5b3 [add] load application from the package file 2023-04-20 19:39:52 +08:00
Max
34febd070e [fix] widgets hook copy bug 2023-04-12 21:19:59 +08:00
Max
0317b6558f [change] optimize the application initializer 2023-04-08 12:05:53 +08:00
Max
b868ae3f5f [fix] table bind model bug 2023-04-07 16:38:57 +08:00
Max
fb70a53705 [fix] plugins load 2023-04-02 16:53:24 +08:00
Max
5d2c4349fd [add] migrate studio 2023-04-01 13:28:31 +08:00
Max
75ee709c23 [change] refactor the yao service 2023-03-26 17:12:02 +08:00
Max
8761a26d52 [change] refactor the app engine load func 2023-03-26 15:59:05 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
1484c0d8c7 [optimize] engine load & start cmd 2022-11-10 12:36:59 +08:00
Max
507d39e011 [add] http.* processes & http JSAPI 2022-11-10 00:10:38 +08:00
Max
d041b2a760 [add] setup validate db & hosting 2022-10-28 19:23:26 +08:00
Max
256912f5e8 [add] app setting api 2022-10-16 23:08:28 +08:00
Max
26d3f8d8a5 [add] Yao Stuido Server & CLI 2022-10-14 21:25:09 +08:00
Max
c921f24ce0 [add] fs support & golang version 1.9.2 2022-10-12 20:31:09 +08:00
Max
a57b312560 [add] XGen v1.0 packing 2022-09-27 23:54:06 +08:00
Max
361487b621 [change] login widget for the xgen-next (done) 2022-09-21 19:13:17 +08:00
Max
749114a97d [add] connector & mongo redis driver for store 2022-09-17 22:52:51 +08:00
Max
81ba5668f2 [change] print message when loading error 2022-08-22 18:51:44 +08:00
Max
8d88682967 [add] Widget (alpha) 2022-08-05 19:46:26 +08:00
Max
3509956bce [add] Task & Schedule 2022-07-30 21:18:05 +08:00
Max
ae4529009e [add] websocket command 2022-07-17 09:08:57 +08:00
Max
d2cc885e3e [change] rename servers -> sockets 2022-07-17 08:22:50 +08:00
Max
ee40974f07 [add] ssl.Sign & ssl.Verify processes 2022-07-16 17:11:03 +08:00
Max
0f9590715c [change] production mode log level 2022-07-14 09:38:30 +08:00
Max
c775df16f4 Fix FreePort DNS deps & Session bug 2022-04-10 17:29:37 +08:00