From d491b377e02dc66f1beb370c32fafa10aafb45e4 Mon Sep 17 00:00:00 2001 From: Jackson Chen <541898146chen@gmail.com> Date: Tue, 24 Dec 2024 02:53:58 -0600 Subject: [PATCH] feat(chat): add input management methods to PromptFormRef interface --- ee/tabby-ui/components/chat/prompt-form.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/tabby-ui/components/chat/prompt-form.tsx b/ee/tabby-ui/components/chat/prompt-form.tsx index 8cda89dacda1..7ca09b3fc77e 100644 --- a/ee/tabby-ui/components/chat/prompt-form.tsx +++ b/ee/tabby-ui/components/chat/prompt-form.tsx @@ -51,6 +51,8 @@ export interface PromptProps { export interface PromptFormRef { focus: () => void + setInput: (value: string) => void + input: string } function PromptFormRenderer(