Skip to content

Commit 5d227a4

Browse files
committed
Small type cleanup
1 parent 0e7f577 commit 5d227a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/xai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class XAIHandler extends BaseProvider implements SingleCompletionHandler
6565
if (delta && "reasoning_content" in delta && delta.reasoning_content) {
6666
yield {
6767
type: "reasoning",
68-
text: (delta.reasoning_content as string | undefined) || "",
68+
text: delta.reasoning_content as string,
6969
}
7070
}
7171

0 commit comments

Comments
 (0)