Skip to content

Commit 1d414f2

Browse files
committed
Handle null output
1 parent 5b641bf commit 1d414f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llmstack/apps/jobs/app_run_finished.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ def request_body(self):
7878

7979
@property
8080
def response_body(self):
81-
if self.output:
82-
return self.output.get("output") or ""
81+
return self.output.get("output", "") if self.output and isinstance(self.output, dict) else ""
8382

8483
@property
8584
def is_store_request(self):

0 commit comments

Comments
 (0)