mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 11:44:22 +01:00
core: enable reasoning.encrypted_content and reasoningSummary for opencode provider\ntui: adjust editorY position calculation
This commit is contained in:
@@ -98,8 +98,8 @@ export namespace ProviderTransform {
|
||||
}
|
||||
if (providerID === "opencode") {
|
||||
result["promptCacheKey"] = sessionID
|
||||
// result["include"] = ["reasoning.encrypted_content"]
|
||||
// result["reasoningSummary"] = "auto"
|
||||
result["include"] = ["reasoning.encrypted_content"]
|
||||
result["reasoningSummary"] = "auto"
|
||||
}
|
||||
}
|
||||
return result
|
||||
|
||||
@@ -967,7 +967,6 @@ func (a Model) home() (string, int, int) {
|
||||
█░░░ █░░█ █░░█ █▀▀▀
|
||||
▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀`
|
||||
|
||||
|
||||
logo := lipgloss.JoinHorizontal(
|
||||
lipgloss.Top,
|
||||
muted(open),
|
||||
@@ -1043,7 +1042,7 @@ func (a Model) home() (string, int, int) {
|
||||
)
|
||||
|
||||
editorX := max(0, (effectiveWidth-editorWidth)/2)
|
||||
editorY := (a.height / 2) + (mainHeight / 2) - 2
|
||||
editorY := (a.height / 2) + (mainHeight / 2) - 3
|
||||
|
||||
if editorLines > 1 {
|
||||
content := a.editor.Content()
|
||||
|
||||
Reference in New Issue
Block a user