@@ -333,10 +333,7 @@ export function registerModelsCli(program: Command) {
333333 . option ( "--provider <id>" , "Provider id registered by a plugin" )
334334 . option ( "--method <id>" , "Provider auth method id" )
335335 . option ( "--device-code" , "Use the provider device-code auth method" , false )
336- . option (
337- "--profile-id <id>" ,
338- "Auth profile id override for single-profile login methods" ,
339- )
336+ . option ( "--profile-id <id>" , "Auth profile id override for single-profile login methods" )
340337 . option ( "--set-default" , "Apply the provider's default model recommendation" , false )
341338 . action ( async ( opts , command ) => {
342339 if ( opts . deviceCode && typeof opts . method === "string" && opts . method !== "device-code" ) {
@@ -389,7 +386,6 @@ export function registerModelsCli(program: Command) {
389386 "--expires-in <duration>" ,
390387 "Optional expiry duration (e.g. 365d, 12h). Stored as absolute expiresAt." ,
391388 )
392- . option ( "--token <value>" , "Token value (skip interactive prompt)" )
393389 . action ( async ( opts , command ) => {
394390 await withModelsRuntime ( async ( { defaultRuntime, resolveModelAgentOption } ) => {
395391 const agent = resolveModelAgentOption ( command ) ;
@@ -400,7 +396,6 @@ export function registerModelsCli(program: Command) {
400396 profileId : opts . profileId as string | undefined ,
401397 expiresIn : opts . expiresIn as string | undefined ,
402398 agent,
403- token : opts . token as string | undefined ,
404399 } ,
405400 defaultRuntime ,
406401 ) ;
0 commit comments