5 Commits
Author SHA1 Message Date
linshen cd533e834d feat(core): 允许 API key 为空以支持特定服务
- 移除了对 API key 的强制性验证
- 更新了错误消息,强调 API URL 的重要性- 调整了测试用例以适应新的 API key策略
- 更新了 UI组件和国际化文案,明确 API key 为可选字段
2025-07-18 00:15:08 +08:00
linshen a2173548d7 feat(core): 重构数据管理器并添加 UI 配置导入导出功能
- 重构了 DataManager 类,增加了 UI 配置导入导出功能
- 优化了数据导入流程,能够处理部分数据导入失败的情况
- 添加了对 UI 配置数据的导入导出支持
- 重构了部分错误处理逻辑,提高了代码的健壮性
2025-05-26 22:48:01 +08:00
linshen 22638cbde0 refactor: Migrate from LangChain to native SDKs for LLM services
- Replace LangChain dependencies with native OpenAI and Google Generative AI SDKs
- Rewrite LLMService to use direct API calls for OpenAI and Gemini
- Update core package dependencies to remove LangChain-related packages
- Modify message handling and streaming logic to work with new SDK implementations
- Simplify model configuration and instance management
- Update integration and unit tests to support new SDK approach
- Remove LangChain-specific message conversion and streaming methods
2025-02-23 09:12:00 +08:00
linshen e568dd77a0 feat: Enhance environment variable loading for testing and integration
- Update Vitest configuration to dynamically load environment variables
- Add dotenv configuration in test setup files
- Modify integration test files to use process.env instead of import.meta.env
- Add logging for environment variable status in test files
- Improve test configuration for different LLM service integrations
2025-02-22 22:03:28 +08:00
linshen 4d88c3093d refactor: Consolidate and clean up test files across core and web packages
- Remove redundant integration and unit test files from web package
- Update import paths in remaining test files to use local source
- Remove console logs and unnecessary comments in test files
- Simplify test structure and remove duplicate test scenarios
- Add dotenv dependency to core package for environment variable support
2025-02-22 16:02:52 +08:00