@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface SetSessionModel
The annotated method handles the session/set_model JSON-RPC method,
which is called when a client wants to change the AI model used by the session.
The method can have the following parameters (all optional):
SetSessionModelRequest - the request containing sessionId and modelId@SessionId String - the session IDString modelId - the model ID to set (when parameter name matches)The method should return one of:
SetSessionModelResponse - the response (typically empty)void - auto-converts to empty responseMono<SetSessionModelResponse> - for async handlingExample usage:
{@codeAcpAgent,
SetSessionMode