* Edit a user message and regenerate the assistant response. * `historyBefore` should contain only the messages before the edited one.
(
conversationId: string,
newContent: string,
historyBefore: Message[],
opts?: SendOptions
)
| 77 | * `historyBefore` should contain only the messages before the edited one. |
| 78 | */ |
| 79 | edit( |
| 80 | conversationId: string, |
| 81 | newContent: string, |
| 82 | historyBefore: Message[], |