Skip to content

Commit

Permalink
fix a stan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed May 15, 2024
1 parent ee23868 commit dea730f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/WebPageOutputController.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ public function chat(Output $output)
'response' => $response->content]
);

$content = [];

foreach ($output->collection->documents as $result) {
$contentString = remove_ascii($result->summary);
$content[] = $contentString; //reduce_text_size seem to mess up Claude?
Expand Down

0 comments on commit dea730f

Please sign in to comment.