Skip to content

Commit aae64aa

Browse files
committed
Fix formatting
1 parent 4844b7c commit aae64aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/MCP/Client.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ static function () {
172172
]
173173
);
174174

175-
// \WP_CLI::log( 'Making request...' . print_r( $contents, true ) );
175+
\WP_CLI::log( 'Making request...' . print_r( $contents, true ) );
176176

177-
if( $service->get_service_slug() === 'openai' ) {
177+
if ( $service->get_service_slug() === 'openai' ) {
178178
$model = 'gpt-4o';
179179
} else {
180180
$model = 'gemini-2.0-flash';
@@ -203,7 +203,6 @@ static function () {
203203
}
204204
$text .= $part->get_text();
205205
} elseif ( $part instanceof Function_Call_Part ) {
206-
// var_dump( 'call function', $part );
207206
$function_result = $this->{$part->get_name()}( $part->get_args() );
208207

209208
// Odd limitation of add_function_response_part().

0 commit comments

Comments
 (0)