(newHistory: ApiMessage[])
| 913 | // so rewind/edit behavior can still reference original message boundaries. |
| 914 | |
| 915 | async overwriteApiConversationHistory(newHistory: ApiMessage[]) { |
| 916 | this.apiConversationHistory = newHistory |
| 917 | await this.saveApiConversationHistory() |
| 918 | } |
| 919 | |
| 920 | /** |
| 921 | * Flush any pending tool results to the API conversation history. |
no test coverage detected