Commit graph

272 commits

Author SHA1 Message Date
Max
5830c3d177 Add Redis and Apple Private Key Setup to CI Workflows
- Added the `OPENAI_API_KEY` environment variable to both `pr-test.yml` and `unit-test.yml` workflows for improved API access.
- Introduced a step to set up the Apple Private Key in both workflows, enhancing security for Apple-related operations.
- Integrated Redis service setup in both workflows to support caching and improve test performance.
2025-12-15 11:46:31 +08:00
Max
1df58d576a Add MongoDB Service Configuration to CI Workflows
- Added a MongoDB service to both `pr-test.yml` and `unit-test.yml` workflows to support database testing.
- Configured MongoDB with necessary environment variables for root credentials and database name, improving the test environment setup.
2025-12-15 11:31:49 +08:00
Max
70bed98e06 Add MongoDB Service to CI Workflows
- Introduced a MongoDB service in both `pr-test.yml` and `unit-test.yml` workflows to facilitate database testing.
- Configured MongoDB with environment variables for root username, password, and database name, enhancing test environment setup.
- Updated `.gitignore` to exclude job logs for search agents, ensuring cleaner repository management.
2025-12-15 11:30:09 +08:00
Max
1cc513e328 Add Environment Setup Step in CI Workflows
- Introduced a new step in both `pr-test.yml` and `unit-test.yml` workflows to set up environment variables for database configuration.
- Enhanced the environment setup to conditionally configure database connection strings based on the selected database driver, improving test reliability and flexibility.
- Created necessary directories for SQLite database storage when not using MySQL, ensuring proper environment preparation for tests.
2025-12-15 10:07:04 +08:00
Max
4f417d4d6e Enhance CI Workflows and Makefile for Testing and Benchmarking
- Added additional failure checks in the Makefile for unit tests to improve error handling.
- Updated GitHub Actions workflows to include a new benchmark and memory leak testing job, enhancing performance validation.
- Modified environment setup in workflows to ensure correct database paths for SQLite, improving test reliability.
- Streamlined the core test execution process by removing redundant commands, focusing on unit tests only.
2025-12-15 09:55:31 +08:00
Max
4a47b92156 Implement Core and AI Unit Testing in Makefile and CI Workflows
- Added separate unit test targets for core tests and AI-related tests in the Makefile, allowing for more granular testing.
- Updated GitHub Actions workflows to include dedicated jobs for running AI tests with SQLite and core tests, enhancing CI capabilities.
- Modified existing test commands to ensure proper execution of unit tests while excluding AI-related tests where necessary.
- Updated test paths in the agent's search tests to reflect changes in the test assistant being used, ensuring accurate test execution.
2025-12-15 09:34:53 +08:00
Max
e4d1701dab Add Search API configuration and enhance documentation
- Introduced new environment variables for TAVILY_API_KEY, SERPAPI_API_KEY, and SERPER_API_KEY in both `pr-test.yml` and `unit-test.yml` workflows to support additional search providers.
- Updated `DESIGN.md` to reflect the inclusion of SerpAPI as a search provider, detailing its usage and configuration options, including support for multiple search engines.
- Enhanced the `builtinSearch` function in `handler.go` to accommodate the new SerpAPI provider, ensuring proper handling of search requests.
- Revised the `WebConfig` struct in `config.go` to include an `Engine` field for specifying the search engine when using SerpAPI, improving flexibility in search configurations.
- Updated documentation to clarify the roles of new search providers and their integration within the search module, ensuring comprehensive guidance for developers.
2025-12-13 12:37:07 +08:00
Max
a8d73f8f7b Add Claude API configuration and enhance vision support in LLM adapters
- Integrated Claude API keys into GitHub workflows for both unit and PR tests.
- Introduced a new VisionFormat type and constants to manage image input formats.
- Updated ModelCapabilities to support vision input, allowing for flexible handling of image formats.
- Enhanced VisionAdapter to preprocess messages and convert image URLs to base64 format for Claude compatibility.
- Improved OpenAI provider to utilize vision support in message preprocessing, ensuring better integration with vision capabilities.
2025-11-17 10:53:08 +08:00
Max
494c8dc98e Add DeepSeek API configuration and enhance reasoning support in LLM adapters
- Added DeepSeek API keys and model configurations to the GitHub workflows for both unit and PR tests.
- Introduced a new `ReasoningEffort` parameter in the `CompletionOptions` struct to manage reasoning levels for models like o1 and GPT-5.
- Updated the `ReasoningAdapter` to handle the new `ReasoningEffort` parameter, ensuring it is stripped if not supported by the model.
- Enhanced the OpenAI provider to preprocess options through adapters, improving the handling of reasoning content and ensuring compatibility with DeepSeek R1 reasoning format.
2025-11-17 08:07:20 +08:00
Max
741847224d Update Neo4j test URL in workflow configurations
- Changed the NEO4J_TEST_URL from "neo4j://localhost:7686" to "neo4j://localhost:7687" in both pr-test.yml and unit-test.yml to reflect the updated Neo4j service endpoint.
- Cleaned up whitespace in the OpenAPI signin configurations for better readability.
2025-10-25 14:41:42 +08:00
Max
6302cfc960 Add SIGNIN_CLIENT_ID to workflow configurations
- Introduced SIGNIN_CLIENT_ID environment variable in both pr-test.yml and unit-test.yml for OpenAPI signin configurations, ensuring consistent access across workflows.
- This addition enhances the setup for authentication processes in the testing environment.
2025-10-25 13:39:55 +08:00
Max
1843a64ff5 Update dependencies and enhance mailer functionality
- Bump Go version to 1.24.0 and update toolchain to 1.24.3 for improved performance and compatibility.
- Add new dependencies for IMAP and SASL support, enhancing email handling capabilities.
- Refactor messenger service to integrate a new mailer provider, replacing the deprecated SMTP provider.
- Implement automatic mail receiver startup for mailer providers, improving message handling efficiency.
- Update GitHub Actions workflows to include IMAP server configurations for testing email reception.
2025-09-28 09:33:36 +08:00
Max
09ec6edac3 Enhance Twilio provider tests and configurations for improved SMS functionality
- Added TWILIO_TEST_PHONE environment variable to GitHub Actions workflows for better test configuration.
- Updated Twilio SMS test cases to utilize the new test phone number, improving test reliability.
- Implemented separate test cases for SMS sending using both Auth Token and API Key authentication methods.
- Enhanced existing tests to skip execution if required credentials are not configured, ensuring clearer test outcomes.
- Refactored benchmark tests for SMS sending to support both authentication methods, optimizing performance evaluation.
2025-09-27 08:41:42 +08:00
Max
551af8cf0a Add messaging service configurations to CI workflows
- Integrated Mailgun, SMTP, and Twilio environment variables into the GitHub Actions workflows for unit testing and PR testing.
- Configured necessary credentials and settings for Mailgun and Gmail SMTP servers, enhancing email functionality.
- Added Twilio configuration for SMS and email services, improving communication capabilities in tests.
2025-09-26 17:43:03 +08:00
Max
409151037a Add Cloudflare Turnstile configuration and enhance OAuth handling in Signin API
- Added Cloudflare Turnstile site key and secret to the environment variables in both `pr-test.yml` and `unit-test.yml` workflows.
- Introduced a new endpoint in the Signin API for generating OAuth authorization URLs, improving support for third-party authentication providers.
- Enhanced the handling of OAuth provider configurations, including validation and error responses for missing or incomplete settings.
- Updated tests to cover the new OAuth authorization URL functionality and ensure sensitive data is not exposed in public configurations.
2025-07-30 20:19:55 +08:00
Max
315618da47 Add Signin API and update file management endpoints
- Introduced a comprehensive Signin API for user authentication, supporting multiple OAuth providers (Google, GitHub, Microsoft, Apple).
- Updated the file management API endpoints to use a singular `/file` path instead of `/files`, enhancing consistency across the API.
- Revised README documentation to include detailed descriptions of the new Signin API and updated file management endpoints.
- Enhanced test cases to reflect the changes in endpoint structure and ensure robust coverage for the new Signin functionality.
2025-07-30 16:49:28 +08:00
Max
18547852b7 Update S3 configuration in CI workflows
- Replaced the S3_CACHE_PATH variable with S3_PUBLIC_URL in both `pr-test.yml` and `unit-test.yml` workflows, enhancing the integration with S3 by providing a public URL for access.
- This change aligns with the ongoing improvements to S3-related environment variables for better deployment and testing processes.
2025-07-25 19:05:42 +08:00
Max
d8cc1f2390 Add S3 configuration to CI workflows
- Added S3-related environment variables to both `pr-test.yml` and `unit-test.yml` workflows, enabling integration with S3 for testing and deployment.
- Included API, access key, secret key, bucket, and cache path settings to facilitate S3 interactions during CI processes.
2025-07-25 18:28:41 +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
e4b4e50c9f Update AWS CLI version in Dockerfile and add version check in build-linux workflow 2025-05-18 19:14:33 +08:00
Max
d158ec9e50
Update build-linux.yml 2025-05-18 18:50:14 +08:00
Max
aaf93f0240 chore: Update S3 copy command in build-linux workflow to disable checksums
- Modified the S3 copy command in the build-linux.yml workflow to set AWS_S3_DISABLE_CHECKSUMS to true, improving upload performance and consistency.
2025-05-18 18:45:07 +08:00
Max
e1780db83b chore: Remove --no-checksum-validation option from S3 copy command in build-linux workflow
- Updated the S3 copy command in the build-linux.yml workflow to remove the --no-checksum-validation option, reverting to the previous behavior for consistency in file uploads.
2025-05-18 18:21:10 +08:00
Max
dcf3e7ef76 chore: Add --no-checksum-validation option to S3 copy command in build-linux workflow
- Updated the S3 copy command in the build-linux.yml workflow to include the --no-checksum-validation option for improved performance during file uploads.
2025-05-18 18:08:03 +08:00
Max
e7ac051d88 chore: Rename XGen to CUI in macOS build workflow
- Updated references in the build-macos.yml workflow to replace XGen with CUI.
- Adjusted file movements and cleanup commands to reflect the new naming convention for consistency.
2025-05-18 17:59:54 +08:00
Max
4dbdb07efb chore: Update version and Go installation in CI workflows
- Bumped the version from 0.9.0 to 0.10.5 in the macOS build workflow.
- Updated the Go installation in the Dockerfile from version 1.24.0 to 1.24.3 for improved compatibility and features.
2025-05-18 17:57:21 +08:00
Max
f55fc7b374 ⚠️ BREAKING: Rename XGen to CUI and update license terms
1. Major Changes:
   - Migrate all XGen references to CUI
   - Update project naming conventions across codebase

2. License Updates:
   - Revise open source license terms
   - Update copyright and usage conditions

This is a breaking change that requires updates in dependent projects.
2025-05-18 12:16:45 +08:00
Max
42e5e5ecdb chore: Update Go version in CI workflows to 1.24
- Updated the Go version in both `pr-test.yml` and `unit-test.yml` workflows from 1.23 to 1.24 to ensure compatibility with the latest features and improvements.
2025-05-18 10:19:19 +08:00
Max
fdf71f4cfd Update Go version and dependencies; enhance Neo API functionality
- Bump Go version from 1.22.2 to 1.23 for improved performance.
- Update dependencies in go.mod and go.sum, including:
  - github.com/PuerkitoBio/goquery to v1.10.1
  - github.com/dchest/captcha to v1.1.0
  - github.com/evanw/esbuild to v0.24.2
  - github.com/fatih/color to v1.18.0
  - github.com/fsnotify/fsnotify to v1.8.0
  - github.com/spf13/cobra to v1.8.1
  - github.com/stretchr/testify to v1.10.0
  - github.com/xuri/excelize/v2 to v2.9.0
- Introduce RAG (Retrieval-Augmented Generation) initialization in the Neo API, enhancing assistant capabilities.
- Refactor workflows to use Go 1.23 for testing and CI processes, ensuring compatibility with the latest features.
2025-01-02 13:06:36 +08:00
Max
319faff110 Remove outdated issue templates and update contact links in config.yml 2024-12-09 09:40:30 +08:00
Max
401fd3aa94 Fix code signing command and update .gitignore to exclude shell scripts 2024-12-04 11:38:52 +08:00
Max
7ddacd70f9 Update Go version in macOS build workflow to 1.23.4 2024-12-04 09:47:30 +08:00
Max
8bd097274c Update macOS build workflow 2024-12-03 19:02:21 +08:00
Max
03d98d9a5a Enhance macOS build workflow with code signing verification and submission to Apple Notary Service 2024-12-03 18:55:59 +08:00
Max
83fc43cc52 Enable Docker Content Trust for all build jobs in workflow files 2024-11-29 15:27:03 +08:00
Max
c78e169fbc Enable Docker Content Trust in build workflows 2024-11-29 15:09:16 +08:00
Max
dc43e9ca4f Update build-linux.yml and Dockerfile for environment improvements and AWS CLI installation 2024-11-29 13:37:06 +08:00
Max
d176ef904d Update build-linux.yml to use ubuntu-latest instead of ubuntu-22.04 2024-11-29 12:26:45 +08:00
Max
b10fe0ac38 Refactor build-linux.yml to replace Coscmd with AWS CLI for R2 configuration and upload 2024-11-29 12:24:18 +08:00
Max
d15bd28cec Update build-linux.yml to include apt-get update before installing dependencies 2024-11-29 11:53:31 +08:00
Max
f3b3e80ccf Add unzip step for libv8 in CI workflows and build script 2024-11-23 18:09:21 +08:00
Max
16234df9d6 Update macOS runner to use latest version in build workflow 2024-11-05 08:18:32 +08:00
Max
5f271a7f83 debug 2024-09-28 11:39:33 +08:00
Max
f0db90eb52 workflow debug 2024-09-28 11:27:29 +08:00
Max
feed59a62e Add auto release workflow ( dev ) 2024-09-28 11:18:27 +08:00
Max
ab188c9a5e Refactor Makefile to update certificate verification and remove importing private key 2024-09-28 10:29:23 +08:00
Max
bbaa0ee62c Refactor Makefile to update certificate verification and fix private key import 2024-09-28 10:25:30 +08:00
Max
da08db7f3f Refactor Makefile to update certificate verification and remove importing private key 2024-09-28 10:21:17 +08:00
Max
feae146523 Github workflow debug 2024-09-28 10:07:27 +08:00
Max
b08b305cd3 Refactor Makefile to remove importing private key and update certificate verification 2024-09-28 09:56:06 +08:00