File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -240,21 +240,13 @@ For all commands and options, run 'codebuff' and then type 'help'.
240240 )
241241 const initialInput = isCommand ? '' : filteredArgs . join ( ' ' )
242242
243- // Handle --agent flag by prefilling user input instead of directly invoking
244- let finalInitialInput = initialInput
245- if ( options . agent && ! initialInput ) {
246- finalInitialInput = `@${ options . agent } `
247- } else if ( options . agent && initialInput ) {
248- finalInitialInput = `@${ options . agent } ${ initialInput } `
249- }
250-
251243 codebuff ( {
252- initialInput : finalInitialInput ,
244+ initialInput,
253245 git,
254246 costMode,
255247 runInitFlow : options . init ,
256248 model : options . model ,
257- agent : undefined , // Don't pass agent to CLI - use prefilled input instead
249+ agent : options . agent ,
258250 params : parsedAgentParams ,
259251 print : options . print ,
260252 cwd : options . cwd ,
You can’t perform that action at this time.
0 commit comments