mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 22:09:44 +00:00
feat(base): merge main
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from enum import Enum
|
||||
from typing import List, Optional
|
||||
from typing import List, Optional, Union
|
||||
|
||||
from dbgpt._private.pydantic import BaseModel, ConfigDict
|
||||
from dbgpt.rag import ChunkParameters
|
||||
|
||||
|
||||
class KnowledgeQueryRequest(BaseModel):
|
||||
|
@@ -64,7 +64,7 @@ class ServeDao(BaseDao[ServeEntity, ServeRequest, ServerResponse]):
|
||||
conv_uid=entity.conv_uid,
|
||||
user_input=entity.summary,
|
||||
chat_mode=entity.chat_mode,
|
||||
user_name=entity.user_name,
|
||||
user_name="",
|
||||
sys_code=entity.sys_code,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user