Resets state associated with the active user turn. This should *always* be called whenever a new user prompt is sent to the backend. Note that includes tool use rejections.
(&mut self)
| 3682 | /// This should *always* be called whenever a new user prompt is sent to the backend. Note |
| 3683 | /// that includes tool use rejections. |
| 3684 | fn reset_user_turn(&mut self) { |
| 3685 | info!(?self.user_turn_request_metadata, "Resetting the current user turn"); |
| 3686 | self.user_turn_request_metadata.clear(); |
| 3687 | } |
| 3688 | |
| 3689 | /// Sends an "codewhispererterminal_addChatMessage" telemetry event. |
| 3690 | /// |
no test coverage detected