class MCProtocol::CreateMessageRequest

Overview

A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.

Included Modules

Defined in:

mcprotocol/create_message_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(params : CreateMessageRequestParams) #

[View source]

Instance Method Detail

def method : String #

[View source]

[View source]