pub struct SessionChatInputRequest {
pub id: String,
pub chat: Uri,
pub request: ChatInputRequest,
}Expand description
A user-input elicitation surfaced at the session level, mirroring the request from an unresolved {@link InputRequestResponsePart} in the owning chat.
Respond by dispatching chat/inputCompleted (or syncing drafts with
chat/inputAnswerChanged) to {@link SessionInputRequestBase.chat | chat},
keyed by {@link ChatInputRequest.id | request.id}.
Fields§
§id: StringStable key for this entry, unique within the session’s
{@link SessionState.inputNeeded} list. The host derives it however it likes
(for example from the chat URI plus the underlying request or tool-call
id); consumers MUST treat it as opaque. It is the key for the
session/inputNeededSet / session/inputNeededRemoved upsert convention.
chat: UriThe chat the underlying request lives in. This is the channel a client dispatches its response to — it does not need to have subscribed to that chat first.
request: ChatInputRequestThe mirrored chat input request.
Trait Implementations§
Source§impl Clone for SessionChatInputRequest
impl Clone for SessionChatInputRequest
Source§fn clone(&self) -> SessionChatInputRequest
fn clone(&self) -> SessionChatInputRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more