mirror of
https://github.com/transformerlab/transformerlab-app.git
synced 2025-04-14 07:48:20 +03:00
you can now press enter in visualize log probs to execute the task
This commit is contained in:
@@ -202,6 +202,12 @@ export default function CompletionsPage({
|
||||
slotProps={{
|
||||
input: {
|
||||
ref: inputRef,
|
||||
onKeyDown: (e) => {
|
||||
if (e.key === 'Enter' && !e.shiftKey) {
|
||||
e.preventDefault();
|
||||
handleSend();
|
||||
}
|
||||
},
|
||||
},
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user