The CodePartRenderer offers to contribute arbitrary React nodes to the rendered code part. Technically anything can be rendered, however it is intended to be used for actions, like "Copy to Clipboard" or "Insert at Cursor".
The priority determines the order in which the actions are rendered. The default priorities are 10 and 20.
Optional
Determines if the action should be rendered for the given response.
The CodePartRenderer offers to contribute arbitrary React nodes to the rendered code part. Technically anything can be rendered, however it is intended to be used for actions, like "Copy to Clipboard" or "Insert at Cursor".