OptionalagentOptional agent identifier in case the request was sent by an agent
OptionalcancellationCancellation support
OptionalclientIdentifier of the request or overall exchange. Corresponds to request id in Chat sessions
Optionalresponse_Identifier of the Ai/ChatSession
OptionalsettingsOptionalsubId of a request in case a single exchange consists of multiple requests. In this case the requestId corresponds to the overall exchange.
Optionaltools
The UserRequest extends the "pure" LanguageModelRequest for cancelling support as well as logging metadata. The additional metadata might also be used for other use cases, for example to query default request settings based on the agent id, merging with the request settings handed over.