Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Include raw JSON value
Browse files Browse the repository at this point in the history
  • Loading branch information
gregpriday committed Mar 15, 2024
1 parent 085eaae commit a868d17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ClaudeChat.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function createJson(array $arguments): stdClass
if (json_last_error() === JSON_ERROR_NONE && $jsonText !== '') {
// If the extracted text is valid JSON, update the content object
$content->type = 'object';
$content->json = $jsonText;
$content->object = $jsonObject;
}
}
Expand Down

0 comments on commit a868d17

Please sign in to comment.