File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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().
You can’t perform that action at this time.
0 commit comments