UpdateSessionMessage updates a message in the current session on the remote server.
(ctx context.Context, msgID string, msg *session.Message)
| 741 | |
| 742 | // UpdateSessionMessage updates a message in the current session on the remote server. |
| 743 | func (r *RemoteRuntime) UpdateSessionMessage(ctx context.Context, msgID string, msg *session.Message) error { |
| 744 | if r.sessionID == "" { |
| 745 | return errors.New("no active session") |
| 746 | } |
| 747 | return r.client.UpdateMessage(ctx, r.sessionID, msgID, msg) |
| 748 | } |
| 749 | |
| 750 | // AddSessionSummary adds a summary to the current session on the remote server. |
| 751 | func (r *RemoteRuntime) AddSessionSummary(ctx context.Context, summary string, tokens int) error { |
nothing calls this directly
no test coverage detected