mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 11:14:23 +01:00
fix: model flag in non interactive mode (#2249)
This commit is contained in:
@@ -171,12 +171,8 @@ export const RunCommand = cmd({
|
||||
const result = await Session.chat({
|
||||
sessionID: session.id,
|
||||
messageID,
|
||||
...(agent.model
|
||||
? agent.model
|
||||
: {
|
||||
providerID,
|
||||
modelID,
|
||||
}),
|
||||
providerID,
|
||||
modelID,
|
||||
agent: agent.name,
|
||||
parts: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user