fix: turn log type from text to jsonb

This commit is contained in:
bennykok
2024-01-31 00:31:00 +08:00
parent 4b37de9ec5
commit 7ae25aa162
6 changed files with 1326 additions and 4 deletions
+1 -3
View File
@@ -76,9 +76,7 @@ export async function RunDisplay({
<RunInputs run={run} />
<Suspense>
<RunOutputs run_id={run.id} />
{run.run_log && (
<LogsViewer logs={JSON.parse(run.run_log) as LogsType} />
)}
{run.run_log && <LogsViewer logs={run.run_log} />}
</Suspense>
</div>
{/* <div className="max-h-96 overflow-y-scroll">{view}</div> */}