Commit Graph

39 Commits

Author SHA1 Message Date
yokowu
1e873b4fce feat: 兼容智谱 2025-08-20 15:12:02 +08:00
yokowu
516d98665b feat: 支持用户分组 2025-08-18 14:57:29 +08:00
yokowu
3445e46086 feat: 提供给插件的安全详情接口 2025-08-15 10:27:04 +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
yokowu
da4359f2e2 feat: 支持安全扫描 2025-08-07 22:04:00 +08:00
yokowu
f1667ed447 feat: 健康检测接口 2025-08-01 10:45:18 +08:00
Yoko
d76c45c5e6 Merge pull request #188 from yokowu/feat-base-url
feat: 支持配置前置代理
2025-07-31 17:41:36 +08:00
Yoko
758b9ba30d Merge pull request #183 from Haydenkkk/feat/context-enhance
Feat/context enhance 支持了 CodeSnippet 的检索功能 & 添加了CLI脚本文件
2025-07-31 17:41:21 +08:00
yokowu
d64eb48a59 feat: 支持配置前置代理 2025-07-31 17:36:56 +08:00
yokowu
3435df2caa feat(model): 模型支持高级配置 2025-07-30 18:54:31 +08:00
Haoxin Li
4b5784d391 refactor: update CodeSnippet and workspace handling for improved clarity and structure 2025-07-30 14:48:58 +08:00
Haoxin Li
5bdf01dec3 feat: add code snippet search functionality and handler implementation 2025-07-29 16:09:42 +08:00
chriscco
a03d6647d5 fix: 修复了CLI传入字段的对齐问题
fix: Update GetAndSaveReq structure to use WorkspaceID and FileMetas fields

feat: Update GetAndSave request structure to include workspace_id and refactor related code
2025-07-28 16:20:57 +08:00
Haoxin Li
ae6b32a1b0 Merge remote-tracking branch 'upstream/main' into feat/sync-docs 2025-07-28 14:50:52 +08:00
Haoxin Li
f321e19fd6 feat: Implement CodeSnippet functionality with repository and use case layers, update CLI command references 2025-07-28 14:39:27 +08:00
Haoxin Li
9388e149d6 feat: Add CodeSnippet entity and related functionality
- Introduced CodeSnippet schema with fields for snippet details and relationships to WorkspaceFile.
- Enhanced WorkspaceFileUpdate and WorkspaceFileUpdateOne to manage snippets, including adding, removing, and clearing snippet relationships.
- Updated Swagger documentation to include new API endpoints for CLI command execution and workspace file management.
- Implemented domain structures for handling code files and AST parsing results.
- Refactored Workspace and WorkspaceFile use cases to support new functionalities.
- Adjusted CLI command execution to handle code file information in JSON format.
- Improved error handling and logging throughout the workspace and file management processes.
2025-07-25 19:35:00 +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
9f61e4fe86 chore: 代码调整 2025-07-23 16:38:59 +08:00
yokowu
9e8a9fdd8f feat: 管理员个人信息接口 2025-07-22 14:19:55 +08:00
yokowu
d3ecaeed46 feat: 登出接口实现 2025-07-22 11:48:52 +08:00
yokowu
4f34f1bbee feat: 通过请求获取 base url, 减少配置项 2025-07-22 11:32:17 +08:00
yokowu
20c0da6fb0 feat: 用户使用记录接口 2025-07-21 18:47:39 +08:00
yokowu
8ebaf582a1 feat: 用户统计接口 2025-07-21 12:24:00 +08:00
yokowu
1282690e37 feat: 增加用户登录来源 2025-07-21 11:53:26 +08:00
yokowu
9abe5dcc9f feat: metadata 上报 2025-07-18 19:14:08 +08:00
yokowu
2177b80c75 feat: 新增聊天记录筛选项 2025-07-18 17:30:59 +08:00
yokowu
1d3efe9e99 feat(model): 模型删除检查 2025-07-17 19:46:22 +08:00
yokowu
1a19055115 feat(model): 实现模型删除接口 2025-07-17 17:16:54 +08:00
yokowu
96c83f1de2 feat(model): 供应商模型列表 2025-07-15 16:01:59 +08:00
yokowu
16cd826d87 feat(user): 增加自动登录开关 2025-07-15 11:34:20 +08:00
yokowu
320aeb2985 feat(oauth): 支持标准OAuth2.0接入 2025-07-14 12:09:57 +08:00
yokowu
40b76e8e05 fix(dashboard): 修复用户统计错误 2025-07-04 12:21:17 +08:00
yokowu
04f9ebba83 feat: 支持统计数据的时间筛选 2025-07-03 17:32:01 +08:00
yokowu
7426de7ba6 feat: 记录任务的所有问答 2025-07-03 10:15:35 +08:00
yokowu
b8e5011d06 feat: 记录列表筛选 2025-07-02 17:31:14 +08:00
yokowu
f01c489197 feat: 补全记录返回提示词 2025-07-02 12:05:12 +08:00
yokowu
977a4bd9ea feat: 注册增加用户名字段 2025-07-02 10:39:45 +08:00
yokowu
d68ac3d05b feat: 支持钉钉OAuth 2025-07-01 21:08:30 +08:00
yokowu
b048fac123 feat(backend): add basic backend code 2025-06-25 15:56:22 +08:00