Commit Graph

21 Commits

Author SHA1 Message Date
Yoko
c69cc94e94 Merge pull request #314 from jiangwel/refactor-add-model-interaction
feat: 用户添加模式失败时进行相应提示
2025-08-28 18:16:46 +08:00
jiangwel
217ec9934e feat: 用户添加模式失败时进行相应提示 2025-08-28 14:55:04 +08:00
yokowu
4de0315b2f fix: 修复go mod 2025-08-27 19:14:24 +08:00
jiangwel
113e631b45 feat: 支持更多大模型 2025-08-27 15:45:01 +08:00
yokowu
62fe4eb97e feat: 允许研发人员创建AI员工 2025-08-26 18:34:56 +08:00
yokowu
232e8e8504 feat: ai 员工 2025-08-25 19:36:48 +08:00
jiangwel
a6cf62686f feat(model): 集成ModelKit支持并重构模型管理功能
重构模型管理模块,集成ModelKit作为统一模型服务接口
- 添加ZhiPu、Gemini和Other模型供应商支持
- 移除原有模型检查和列表获取逻辑,改用ModelKit实现
- 新增modelService服务层处理模型数据转换
- 删除旧版modelModal组件,改用@yokowu/modelkit-ui组件
- 更新相关依赖版本,包括ModelKit v1.4.3
2025-08-20 10:10:06 +08:00
Haoxin Li
d00ce49c0d feat: integrate pgvector for semantic search and embedding generation
- Added pgvector-go dependency for vector operations.
- Implemented embedding generation using OpenAI API in a new service.
- Enhanced CodeSnippetRepo to support semantic search using vector similarity.
- Updated CodeSnippetUsecase to generate embeddings during snippet creation.
- Added methods for semantic search by workspace and general semantic search.
- Improved error handling and logging for embedding generation and vector search.
- Removed unnecessary debug logs in socket handlers for cleaner output.

feat: enhance CodeSnippet functionality with workspacePath for improved context and semantic search

feat: add embedding and workspace path fields to CodeSnippet for semantic search functionality

feat: enhance SemanticSearchByWorkspace to include cosine similarity score in results

feat: 优化心跳处理逻辑,支持多种数据类型

refactor: 修复日志记录

feat: add migration for embedding and workspace_path columns in code_snippets table
2025-08-08 15:59:41 +08:00
LydiaMuaCai
38653e73e6 feat: add license schema 2025-08-07 18:35:34 +08:00
yokowu
0892045905 fix: 修复代码行展示问题 2025-08-04 11:16:28 +08:00
yokowu
3435df2caa feat(model): 模型支持高级配置 2025-07-30 18:54:31 +08:00
yokowu
63cea32a89 chore: 更新一些依赖 2025-07-30 14:34:50 +08:00
Haoxin Li
b5ecb92371 feat: feat: Implement workspace and real-time file synchronization
- Added WorkspaceFileHandler for handling workspace file operations including create, update, delete, and list functionalities.
- Introduced WorkspaceFileRepo for database interactions related to workspace files.
- Created WorkspaceFileUsecase to encapsulate business logic for workspace file management.
- Implemented API endpoints for workspace file operations with appropriate request and response structures.
- Added database migrations for creating workspaces and workspace_files tables with necessary constraints and indexes.
- Enhanced user authentication and authorization for workspace file operations.
2025-07-23 17:42:20 +08:00
yokowu
20c0da6fb0 feat: 用户使用记录接口 2025-07-21 18:47:39 +08:00
yokowu
97524b1ffe feat(user): 记录登录历史 2025-07-17 15:06:08 +08:00
yokowu
96c83f1de2 feat(model): 供应商模型列表 2025-07-15 16:01:59 +08:00
yokowu
015868dff9 fix(oauth): 利用官方 oauth2 库实现自定义OAuth 2025-07-14 20:55:39 +08:00
yokowu
963ad4eabc feat(model): 增加缓存机制 2025-07-13 00:05:39 +08:00
yokowu
a71148497c feat(user): 记录用户活跃时间 2025-07-04 10:56:03 +08:00
yokowu
04f9ebba83 feat: 支持统计数据的时间筛选 2025-07-03 17:32:01 +08:00
yokowu
b048fac123 feat(backend): add basic backend code 2025-06-25 15:56:22 +08:00