feat: implement create skill

This commit is contained in:
Henry Li
2026-01-31 22:31:25 +08:00
parent 06511f38e1
commit bdd2e25e14
7 changed files with 49 additions and 7 deletions

View File

@@ -56,6 +56,7 @@ export function InputBox({
context,
extraHeader,
isNewThread,
initialValue,
onContextChange,
onSubmit,
onStop,
@@ -72,6 +73,7 @@ export function InputBox({
};
extraHeader?: React.ReactNode;
isNewThread?: boolean;
initialValue?: string;
onContextChange?: (
context: Omit<
AgentThreadContext,
@@ -164,6 +166,7 @@ export function InputBox({
disabled={disabled}
placeholder={t.inputBox.placeholder}
autoFocus={autoFocus}
defaultValue={initialValue}
/>
</PromptInputBody>
<PromptInputFooter className="flex">