UpdateSessionTitle updates the title of the current session on the remote server.
(ctx context.Context, sess *session.Session, title string)
| 649 | |
| 650 | // UpdateSessionTitle updates the title of the current session on the remote server. |
| 651 | func (r *RemoteRuntime) UpdateSessionTitle(ctx context.Context, sess *session.Session, title string) error { |
| 652 | sess.Title = title |
| 653 | if r.sessionID == "" { |
| 654 | return errors.New("cannot update session title: no session ID available") |
| 655 | } |
| 656 | return r.client.UpdateSessionTitle(ctx, r.sessionID, title) |
| 657 | } |
| 658 | |
| 659 | // CurrentMCPPrompts returns available MCP prompts from the server. |
| 660 | func (r *RemoteRuntime) CurrentMCPPrompts(ctx context.Context) map[string]mcp.PromptInfo { |
nothing calls this directly
no test coverage detected