Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
d2781bd
feat(authservice): authservice功能实现
Mar 10, 2026
1a79c16
feat(auth-service): authservice用户组管理
Mar 12, 2026
c49b9df
feat(core): 对话模块
Mar 13, 2026
1a493ac
feat(core):对话功能
Mar 17, 2026
077a012
fix: 创建prompt接口参数错误
Mar 17, 2026
20ba9f5
fix: 创建prompt接口参数错误
sunjh2222 Mar 17, 2026
5fe6548
feat(juicefs): add juicefs s3 gateway integration
Mar 17, 2026
ed50cb6
Merge branch 'dev' into wangdabenshi-clean
WangDaBenShi Mar 17, 2026
ba31a7f
Merge pull request #2 from sunjh2222/wangdabenshi-clean
WangDaBenShi Mar 17, 2026
a46c34f
refactor(docs): update references from LazyRAG-back to LazyRAG
Mar 17, 2026
1922481
Merge pull request #3 from sunjh2222/wangdabenshi-clean
WangDaBenShi Mar 17, 2026
f9a744d
style(utils): standardize string quotes in generate_bucket_name function
Mar 17, 2026
5404632
Merge pull request #4 from sunjh2222/wangdabenshi-clean
WangDaBenShi Mar 17, 2026
9b03b20
feat: Dataset模块
Mar 17, 2026
e57cdf5
style(utils): standardize string quotes in generate_bucket_name function
Mar 18, 2026
faad9fc
Merge pull request #5 from sunjh2222/wangdabenshi-clean
WangDaBenShi Mar 18, 2026
f3a604f
Merge branch 'dev' into dev_dataset_sjh
Mar 18, 2026
3c7e57e
feat(authservice): authservice功能实现
Mar 10, 2026
82297f7
feat(auth-service): authservice用户组管理
Mar 12, 2026
2d1d5b9
feat(core): 对话模块
Mar 13, 2026
a513e67
fix: 创建prompt接口参数错误
Mar 17, 2026
5865ba9
feat(core):对话功能
Mar 17, 2026
c53a8de
fix: 创建prompt接口参数错误
Mar 18, 2026
43ed342
style(core): format code for consistency across multiple files
Mar 18, 2026
1a0fbf3
refactor(auth-service): improve code readability and consistency acro…
Mar 18, 2026
6fb71d1
chore: remove deprecated OpenAPI specifications for auth-service and …
Mar 18, 2026
1d7715f
Update OpenAPI specifications and clean up unused endpoints
Mar 19, 2026
6e2a20a
Update OpenAPI specifications and clean up unused endpoints
Mar 19, 2026
66c032a
fix(auth-service): update Dockerfile paths for consistency and accuracy
Mar 19, 2026
c54b691
feat: 文档管理
Mar 24, 2026
bc50f80
fix bug
Mar 25, 2026
92d812d
fix bug
Mar 27, 2026
67e6815
fix bug
Mar 27, 2026
9462d0a
解决冲突
Mar 27, 2026
06bfc73
大文件上传
Mar 27, 2026
3f754c5
Merge pull request #8 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
0fa751d
汇总迁移文件
Mar 27, 2026
a83e9ce
Merge pull request #9 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
0138409
fix: resolve flake8 lint errors in auth-service and office-convert-se…
Mar 27, 2026
7ac122f
Merge pull request #10 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
295d7db
中文转换为英文
Mar 27, 2026
4409478
compose yaml提交
Mar 27, 2026
5f4a385
Merge pull request #11 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
05cc075
flake8校验
Mar 27, 2026
d0ca85c
Merge pull request #12 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
77fdd50
gofmt校验
Mar 27, 2026
cc43ccc
Merge pull request #13 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 27, 2026
30dc71e
docker compose修改
Mar 30, 2026
1340bef
Merge pull request #14 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 30, 2026
6ca6abf
delete s
Mar 30, 2026
2f220b7
Merge pull request #15 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 30, 2026
650eaca
数据库初始化
Mar 30, 2026
8f15077
Merge pull request #16 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 30, 2026
f3194fd
恢复切片误删代码
Mar 30, 2026
a571bd2
Merge pull request #17 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 30, 2026
5aeabe1
新增用户修改信息接口
Mar 30, 2026
c1ac492
Merge pull request #18 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 30, 2026
eda61e0
fix: 同名文件夹或者zip上传到同一个目录中
Mar 31, 2026
bdaec14
Merge pull request #19 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 31, 2026
c4d40d9
fix: 修改注释
Mar 31, 2026
3d3d212
Merge pull request #20 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 31, 2026
ff0bfac
fix: 修复lint报错
Mar 31, 2026
96fda23
Merge pull request #21 from sunjh2222/dev_dataset_sjh
sunjh2222 Mar 31, 2026
6af39bd
merge LazyRAG
Mar 31, 2026
eeb89ed
Merge pull request #22 from sunjh2222/dev_merge
sunjh2222 Mar 31, 2026
8fa54cc
删除api和s3临时md文档
Mar 31, 2026
833aaee
Merge pull request #23 from sunjh2222/dev_merge
sunjh2222 Mar 31, 2026
a59b5d7
用户禁用
Apr 2, 2026
fe4ba8b
Merge pull request #24 from sunjh2222/dev_merge
sunjh2222 Apr 2, 2026
9fcae8f
merge LazyRAG
Apr 2, 2026
05ae2ea
fix: 启动dockerfile && 知识库支持标签搜索
Apr 2, 2026
7a9d4fd
Merge pull request #25 from sunjh2222/dev_merge
sunjh2222 Apr 2, 2026
e966a50
Fix OpenAPI generation and frontend compose configuration
Apr 2, 2026
51a1863
Merge branch 'LazyAGI:main' into main
WangDaBenShi Apr 2, 2026
438b63a
fix: 连接doc-server
Apr 2, 2026
fc72ac9
Merge pull request #26 from sunjh2222/dev_merge
sunjh2222 Apr 2, 2026
07f344c
Update frontend port mapping in docker-compose.yml from 8070 to 8090 …
Apr 2, 2026
8717a30
Update frontend service in docker-compose.yml to build from context i…
Apr 2, 2026
b9b9f73
Fix review follow-up bugs in user disable and uploads
WangDaBenShi Apr 3, 2026
aade5f2
Merge pull request #1 from WangDaBenShi/review-followups
WangDaBenShi Apr 3, 2026
0c11092
fix: 连接doc-server
Apr 3, 2026
364144f
Merge pull request #27 from sunjh2222/dev_merge
sunjh2222 Apr 3, 2026
4a743e5
Fix modal and pagination i18n across Ant Design UI
WangDaBenShi Apr 3, 2026
1e63549
fix: 添加导出接口&添加对话接口日志
Apr 3, 2026
0446a09
Merge pull request #28 from sunjh2222/dev_merge
sunjh2222 Apr 3, 2026
3cd3462
merge lazyrag
Apr 3, 2026
30ca4f7
Fix knowledge routing and modal input behavior
WangDaBenShi Apr 3, 2026
a668756
Fix admin user actions and template list pagination
WangDaBenShi Apr 3, 2026
0e95503
Disable inactive member selection and make history toolbar responsive
WangDaBenShi Apr 7, 2026
16c2330
Merge branch 'dev' into main
sunjh2222 Apr 7, 2026
fd94217
Add phone regex validation and localized error messages
WangDaBenShi Apr 7, 2026
eeeb8e2
Regenerate core client for export and batch tag update APIs
WangDaBenShi Apr 8, 2026
df3c1a0
Refactor group management component by removing unused apply join gro…
WangDaBenShi Apr 8, 2026
e1366c4
Regenerate core client for conversation export endpoints
WangDaBenShi Apr 8, 2026
bbc16a3
Use core export API to download conversation history
WangDaBenShi Apr 8, 2026
e274ea2
Localize frontend errors and lock protected permission changes
WangDaBenShi Apr 8, 2026
5e6ab55
Fix ZIP size validation and reduce group remark limit to 200
WangDaBenShi Apr 9, 2026
e244354
Merge branch 'LazyAGI:main' into main
WangDaBenShi Apr 9, 2026
0087c6c
Enable editing dataset roles for groups and fix member updates
WangDaBenShi Apr 9, 2026
9e3a453
Fix upload and group permission validation and messages
WangDaBenShi Apr 9, 2026
ddb2d3d
Enhance AddUserModal to handle inactive users by filtering out disabl…
WangDaBenShi Apr 9, 2026
6119095
Implement dataset group member management: add delete and update endp…
WangDaBenShi Apr 9, 2026
9a69bac
Refactor styles and layout for LanguageSwitcher and admin components;…
WangDaBenShi Apr 10, 2026
29f23fc
Prevent autofill from exposing passwords in profile modal
WangDaBenShi Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ LAZYRAG_AUTH_API_PERMISSIONS_FILE ?=
# Core / ACL
ACL_DB_DRIVER ?= postgres
ACL_DB_DSN ?= host=db user=app password=app dbname=app port=5432 sslmode=disable TimeZone=UTC
LAZYRAG_CHAT_SERVICE_URL ?= http://localhost:8046
# For docker-compose, core reaches chat via service DNS name.
LAZYRAG_CHAT_SERVICE_URL ?= http://chat:8046

# Processor
LAZYRAG_DOCUMENT_PROCESSOR_PORT ?= 8000
Expand Down
2 changes: 1 addition & 1 deletion algorithm/chat/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ async def health():
@app.post('/api/chat/stream', summary='与知识库对话')
async def chat(
query: str = Body(..., description='用户问题'), # noqa: B008
history: List[History] = Body(default=None, description='历史对话,可为 list 或省略(代理可能传为 {})'), # noqa: B008
history: List[History] = Body(default_factory=list, description='历史对话,可为 list 或省略(代理可能传为 {})'), # noqa: B008
session_id: str = Body('session_id', description='会话 ID'), # noqa: B008
filters: Optional[Dict[str, Any]] = Body(None, description='检索过滤条件'), # noqa: B008
files: Optional[List[str]] = Body(None, description='上传临时文件'), # noqa: B008
Expand Down
5 changes: 5 additions & 0 deletions backend/core/chat/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"context"
"encoding/json"
"errors"
"fmt"
"net"
"net/http"
"strings"
Expand Down Expand Up @@ -139,6 +140,7 @@ func (c *ChatService) StreamChat(ctx context.Context, req *LazyChatRequest) (<-c
if err != nil {
return nil, err
}
fmt.Println("DEBUG upstream request url=", c.streamChatURL, " body=", string(bodyBytes))
httpReq, err := http.NewRequestWithContext(ctx, http.MethodPost, c.streamChatURL, bytes.NewReader(bodyBytes))
if err != nil {
return nil, err
Expand All @@ -147,8 +149,10 @@ func (c *ChatService) StreamChat(ctx context.Context, req *LazyChatRequest) (<-c

resp, err := c.client.Do(httpReq)
if err != nil {
fmt.Println("DEBUG upstream request failed url=", c.streamChatURL, " err=", err)
return nil, err
}
fmt.Println("DEBUG upstream response url=", c.streamChatURL, " status=", resp.StatusCode)
if resp.StatusCode != http.StatusOK {
resp.Body.Close()
return nil, errors.New("upstream /api/chat_stream returned non-200")
Expand Down Expand Up @@ -208,6 +212,7 @@ type upstreamStreamLine struct {
// body textRequest JSON text map text,baseURL text endpoint(text /api/...)。
func StreamChatUpstream(ctx context.Context, baseURL string, body map[string]any) (<-chan UpstreamStreamChunk, error) {
service := NewChatServiceWithEndpoint(baseURL)
fmt.Printf("DEBUG upstream stream request baseURL=%s params=%+v\n", baseURL, body)

req := &LazyChatRequest{}
if q, ok := body["query"].(string); ok {
Expand Down
2 changes: 1 addition & 1 deletion backend/core/chat/conversation_api_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func chatServiceURL() string {
if u := os.Getenv("LAZYRAG_CHAT_SERVICE_URL"); u != "" {
return u
}
return "http://localhost:8048"
return "http://chat:8046"
}

func extractMessageForACL(r *http.Request, body []byte) (userID string, items []common.ACLCheckItem) {
Expand Down
Loading
Loading