Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
badasswp committed Nov 2, 2024
1 parent 5bb0a9b commit 7cc86b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/Core/AI.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct() {
$ai = $this->get_provider();

// Register AI Provider.
switch( $ai ) {
switch ( $ai ) {
case 'OpenAI':
$this->provider = new OpenAI();
break;
Expand Down
2 changes: 1 addition & 1 deletion inc/Routes/Tone.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected function get_response() {
return rest_ensure_response(
$ai->run(
[
'content' => "Using the following text, generate a $tone tone: $article",
'content' => "Please generate a $tone tone all in one paragraph using the following text: $article",
]
)
);
Expand Down

0 comments on commit 7cc86b6

Please sign in to comment.