Skip to content

Commit 52a8fd0

Browse files
committed
chore: update PR review
1 parent ff63e33 commit 52a8fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/utils/reasoning.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77

88
// Helper function to get reasoning content from an object
99
function getReasoning(obj: { reasoning_content?: string | null; reasoning?: string | null } | null | undefined): string | null {
10-
return obj?.reasoning_content || obj?.reasoning || null
10+
return obj?.reasoning_content ?? obj?.reasoning ?? null
1111
}
1212

1313
// Extract reasoning from a message (for completed responses)

0 commit comments

Comments
 (0)