summary refs log tree commit diff
path: root/src/components/smart_summary.rs
Commit message (Collapse)AuthorAgeFilesLines
* SmartSummaryButton: ask parent component for textVika2024-08-221-31/+42
| | | | | On receving `smart_summary::Output::Start`, one must reply with `smart_summary::Input::Text(text)` to start the actual summarization.
* Factor out the smart summary buttonVika2024-08-221-0/+84
This is a little bit janky in my opinion, because it takes a reference to the buffer which contents its gonna be summarizing. In a perfect world, it would ask the parent component for the text.