List commits for a given prompt.
This method uses pagination to retrieve commits. It will make multiple API calls if necessary to retrieve all commits or up to the specified limit.
The number of commits to skip before starting to return results.
Whether to include the model information in the commit data.