fix: model flag in non interactive mode (#2249)

This commit is contained in:
Timo Clasen
2025-08-25 22:06:54 +02:00
committed by GitHub
parent d2e2eae4b8
commit 012a292948

View File

@@ -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: [
{