Skip to content

update elicitation mechanism to allow for elicitations outside of the…#792

Open
anna239 wants to merge 1 commit intomainfrom
anna.zhdan/elicitation
Open

update elicitation mechanism to allow for elicitations outside of the…#792
anna239 wants to merge 1 commit intomainfrom
anna.zhdan/elicitation

Conversation

@anna239
Copy link
Contributor

@anna239 anna239 commented Mar 19, 2026

… session scope

@anna239 anna239 requested a review from a team as a code owner March 19, 2026 17:23
@yordis
Copy link
Contributor

yordis commented Mar 19, 2026

@anna239 could you share a bit the behind the scenes conversations to understand the decision making around it?
I can not tell what led to the changes, to be able to understand what we missed and what we need to adjust in our end as well

pub session_id: Option<SessionId>,
/// Optional request ID if this elicitation is tied to a specific request.
#[serde(skip_serializing_if = "Option::is_none")]
pub request_id: Option<RequestId>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to require one or the other? I can help turn this into an enum to express that you have to have one (and not non or both?)

@benbrandt
Copy link
Member

@yordis it's clear that there are use-cases for other methods that this can be helpful. The idea is to have it either for a session or some other request, and then the client would need to have some way to express general elicitations, for the auth/configuration phases to be concrete

@yordis
Copy link
Contributor

yordis commented Mar 19, 2026

for the auth/configuration phases to be concrete

Related to #376 (comment)

@benbrandt that was a precise question in the RFD, and the idea was that such workflow didn't belong to the Elicitation per se, which it is fine, I do not have strong opinions, but overlapping concepts may arise.

Documenting the decision making would be amazing, so we all have a trail history of the "why" behind it. Sometimes isn't obvious what the motivation is, so it helps to share the intent.

@benbrandt
Copy link
Member

Sure thing. before we merge this we would need to update the RFD which is where we'd capture that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants