mirror of
https://github.com/sst/opencode.git
synced 2025-07-08 00:25:00 +00:00
fix formatting output going into tui
This commit is contained in:
parent
59b3268c64
commit
ed8d277e49
2 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,8 @@ export namespace Format {
|
|||
cmd: item.command.map((x) => x.replace("$FILE", file)),
|
||||
cwd: App.info().path.cwd,
|
||||
env: item.environment,
|
||||
stdout: "ignore",
|
||||
stderr: "ignore",
|
||||
})
|
||||
const exit = await proc.exited
|
||||
if (exit !== 0)
|
||||
|
|
|
@ -537,6 +537,7 @@ export namespace Session {
|
|||
// return step
|
||||
// },
|
||||
toolCallStreaming: true,
|
||||
maxTokens: model.info.limit.output || undefined,
|
||||
abortSignal: abort.signal,
|
||||
maxSteps: 1000,
|
||||
providerOptions: model.info.options,
|
||||
|
@ -860,6 +861,8 @@ export namespace Session {
|
|||
cmd: item.command,
|
||||
cwd: App.info().path.cwd,
|
||||
env: item.environment,
|
||||
stdout: "ignore",
|
||||
stderr: "ignore",
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue