customer-support-chat changedabout-claude/use-case-guides/customer-support-chat
Recorded here
Lines+3added
Lines−3removed
From line
987
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits12to this page, all time
The whole hunk
from line 987, old and new numbered
/
from line 987
987987 static fn ($block): bool => $block instanceof TextBlock,
988988 );
989989 if (!$firstBlock instanceof TextBlock) {
990 throw new RuntimeException('An error occurred: Unexpected response type');
990 throw new \RuntimeException('An error occurred: Unexpected response type');
991991 }
992992
993993 $this->messages[] = MessageParam::with(role: 'assistant', content: $firstBlock->text);
from line 1002
10021002 return $firstBlock->text;
10031003 }
10041004
1005 throw new RuntimeException('An error occurred: Unexpected response type');
1005 throw new \RuntimeException('An error occurred: Unexpected response type');
10061006 }
10071007
10081008 /**
from line 1016
10161016 return sprintf('Quote generated: $%.2f per month', $premium);
10171017 }
10181018
1019 throw new RuntimeException('An unexpected tool was used');
1019 throw new \RuntimeException('An unexpected tool was used');
10201020 }
10211021 }
10221022 ```
No line in this hunk matches that.