This function provides a generic interface for calling different APIs
(e.g., OpenAI, HuggingFace, Google AI Studio). It dispatches the actual API
calls to the relevant method based on the class of the skeleton argument.
Usage
gptstudio_response_process(skeleton, ...)
Value
A gptstudio_request_skeleton with updated history and prompt removed