Revert "deps: update OpenTUI to 0.4.2 (#33610)" (#33842)

This commit is contained in:
Simon Klee
2026-06-25 10:38:09 +02:00
committed by GitHub
parent 0149d460e3
commit 98dcea02a8
6 changed files with 31 additions and 29 deletions

View File

@@ -366,8 +366,8 @@ function ApiMethod(props: ApiMethodProps) {
<DialogPrompt
title={props.title}
placeholder="API key"
description={() =>
({
description={
{
opencode: (
<box gap={1}>
<text fg={theme.textMuted}>
@@ -390,7 +390,7 @@ function ApiMethod(props: ApiMethodProps) {
</text>
</box>
),
})[props.providerID] ?? undefined
}[props.providerID] ?? undefined
}
onConfirm={async (value) => {
if (!value) return

View File

@@ -1528,7 +1528,7 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las
customBorderChars={SplitBorder.customBorderChars}
borderColor={theme.error}
>
<text fg={theme.textMuted}>{errorMessage(props.message.error)}</text>
<text fg={theme.textMuted}>{props.message.error?.data.message}</text>
</box>
</Show>
<Switch>

View File

@@ -83,7 +83,7 @@ export function DialogPrompt(props: DialogPromptProps) {
</text>
</box>
<box gap={1}>
{props.description?.()}
{props.description}
<textarea
height={3}
ref={(val: TextareaRenderable) => {