You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Key point: according to the spec, you can only use listRoots or createMessages within an existing client session. This means these client features are only accessible from within tool/prompt/resource handlers using the new exchange argument.
I have read and re-read the spec but I'm unable to find any mention to that at all.
Even the diagram doesn't seem to sustain that hypothesis:
sequenceDiagram
participant Server
participant Client
participant User
participant LLM
Note over Server,Client: Server initiates sampling
Server->>Client: sampling/createMessage
Note over Client,User: Human-in-the-loop review
Client->>User: Present request for approval
User-->>Client: Review and approve/modify
Note over Client,LLM: Model interaction
Client->>LLM: Forward approved request
LLM-->>Client: Return generation
Note over Client,User: Response review
Client->>User: Present response for approval
User-->>Client: Review and approve/modify
Note over Server,Client: Complete request
Client-->>Server: Return approved response
Loading
Would it be possible to discuss the exact point of the spec that refers to this? I'm unable to find it.
Hi all,
@tzolov points here the following:
I have read and re-read the spec but I'm unable to find any mention to that at all.
Even the diagram doesn't seem to sustain that hypothesis:
sequenceDiagram participant Server participant Client participant User participant LLM Note over Server,Client: Server initiates sampling Server->>Client: sampling/createMessage Note over Client,User: Human-in-the-loop review Client->>User: Present request for approval User-->>Client: Review and approve/modify Note over Client,LLM: Model interaction Client->>LLM: Forward approved request LLM-->>Client: Return generation Note over Client,User: Response review Client->>User: Present response for approval User-->>Client: Review and approve/modify Note over Server,Client: Complete request Client-->>Server: Return approved responseWould it be possible to discuss the exact point of the spec that refers to this? I'm unable to find it.