mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 04:23:35 +00:00
feat(runtime): Execute codes in a sandbox environment (#2119)
This commit is contained in:
@@ -276,6 +276,8 @@ class BaseChat(ABC):
|
||||
)
|
||||
payload.span_id = span.span_id
|
||||
try:
|
||||
msg = "<span style='color:red'>ERROR!</span> No response from model"
|
||||
view_msg = msg
|
||||
async for output in self.call_streaming_operator(payload):
|
||||
# Plugin research in result generation
|
||||
msg = self.prompt_template.output_parser.parse_model_stream_resp_ex(
|
||||
|
Reference in New Issue
Block a user