We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ea175 commit 1f0086fCopy full SHA for 1f0086f
src/MCP/Client.php
@@ -181,6 +181,7 @@ static function () {
181
$function_result = [ $function_result ];
182
}
183
184
+ $function_result = [ 'result' => $function_result ];
185
$parts = new Parts();
186
$parts->add_function_response_part( $part->get_id(),$part->get_name(), $function_result );
187
$content = new Content( Content_Role::USER, $parts );
0 commit comments