Fix: Optimize edge check & incorrect parameter usage (#11396)

### What problem does this PR solve?

Fix: incorrect parameter usage #8084
Fix: Optimize edge check #10851

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Billy Bao
2025-11-20 12:49:47 +08:00
committed by GitHub
parent 7c6d30f4c8
commit d2b1da0e26
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ class Session(Base):
def _structure_answer(self, json_data):
answer = ""
if self.__session_type == "agent":
answer = json_data["data"]["content"]
elif self.__session_type == "chat":