fix: resolve issue 4475 (#4505)

This commit is contained in:
Dax
2025-11-19 13:10:09 -05:00
committed by GitHub
parent 793542230f
commit 16fdc90976
3 changed files with 22 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ import {
fg,
type KeyBinding,
} from "@opentui/core"
import { createEffect, createMemo, Match, Switch, type JSX, onMount, batch } from "solid-js"
import { createEffect, createMemo, Match, Switch, type JSX, onMount } from "solid-js"
import { useLocal } from "@tui/context/local"
import { useTheme } from "@tui/context/theme"
import { SplitBorder } from "@tui/component/border"
@@ -425,6 +425,10 @@ export function Prompt(props: PromptProps) {
},
body: {
agent: local.agent.current().name,
model: {
providerID: local.model.current().providerID,
modelID: local.model.current().modelID,
},
command: inputText,
},
})