mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-14 21:51:25 +00:00
feat: (0.6)New UI (#1855)
Co-authored-by: 夏姜 <wenfengjiang.jwf@digital-engine.com> Co-authored-by: aries_ckt <916701291@qq.com> Co-authored-by: wb-lh513319 <wb-lh513319@alibaba-inc.com> Co-authored-by: csunny <cfqsunny@163.com>
This commit is contained in:
@@ -60,10 +60,11 @@ class ServeDao(BaseDao[ServeEntity, ServeRequest, ServerResponse]):
|
||||
"""
|
||||
# TODO implement your own logic here, transfer the entity to a response
|
||||
return ServerResponse(
|
||||
app_code=entity.app_code,
|
||||
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