createMessage

Called when a sampling/createMessage request arrives from the server and the client grants permission.

The implementation should:

  • Pick a model

  • Call an LLM

  • Return a CreateMessageResult with containing the final model, role, content, etc.

  • Throw an error if something goes wrong.