chore: generate
This commit is contained in:
@@ -1595,9 +1595,7 @@ PART_MAPPING["tool"] = function ToolPartDisplay(props) {
|
||||
tool={part().tool}
|
||||
error={error()}
|
||||
title={
|
||||
part().tool === "websearch"
|
||||
? webSearchProviderLabel(partMetadata().provider, i18n)
|
||||
: undefined
|
||||
part().tool === "websearch" ? webSearchProviderLabel(partMetadata().provider, i18n) : undefined
|
||||
}
|
||||
defaultOpen={props.defaultOpen}
|
||||
open={controlledOpen()}
|
||||
|
||||
@@ -188,11 +188,9 @@ export function PromptInputV2(props: PromptInputV2Props) {
|
||||
classList={{ "font-mono!": state.mode === "shell" }}
|
||||
>
|
||||
{view.placeholder?.() ??
|
||||
(state.mode === "shell" ? (
|
||||
i18n.t("ui.promptInput.placeholder.shell")
|
||||
) : (
|
||||
i18n.t("ui.promptInput.placeholder.normal", { slash: "/", at: "@" })
|
||||
))}
|
||||
(state.mode === "shell"
|
||||
? i18n.t("ui.promptInput.placeholder.shell")
|
||||
: i18n.t("ui.promptInput.placeholder.normal", { slash: "/", at: "@" }))}
|
||||
</div>
|
||||
</Show>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user