@@ -502,7 +502,7 @@ export async function loadCliConfig(
502502 extensionContextFilePaths,
503503 maxSessionTurns : settings . maxSessionTurns ?? - 1 ,
504504 sessionTokenLimit : settings . sessionTokenLimit ?? - 1 ,
505- maxFolderItems : settings . maxFolderItems ?? 20 ,
505+ maxFolderItems : settings . maxFolderItems ?? 50 ,
506506 experimentalAcp : argv . experimentalAcp || false ,
507507 listExtensions : argv . listExtensions || false ,
508508 extensions : allExtensions ,
@@ -515,14 +515,19 @@ export async function loadCliConfig(
515515 ( typeof argv . openaiLogging === 'undefined'
516516 ? settings . enableOpenAILogging
517517 : argv . openaiLogging ) ?? false ,
518- sampling_params : settings . sampling_params ,
518+ sampling_params : settings . sampling_params ?? ( argv . model ?. includes ( 'Qwen' ) || settings . model ?. includes ( 'Qwen' ) ? {
519+ temperature : 0.7 ,
520+ top_p : 0.8 ,
521+ top_k : 20 ,
522+ repetition_penalty : 1.05
523+ } : undefined ) ,
519524 systemPromptMappings : settings . systemPromptMappings ?? [
520525 {
521526 baseUrls : [
522527 'https://dashscope.aliyuncs.com/compatible-mode/v1/' ,
523528 'https://dashscope-intl.aliyuncs.com/compatible-mode/v1/' ,
524529 ] ,
525- modelNames : [ 'qwen3-coder-plus' ] ,
530+ modelNames : [ 'qwen3-coder-plus' , 'Qwen/Qwen3-Coder-30B-A3B-Instruct' ] ,
526531 template :
527532 'SYSTEM_TEMPLATE:{"name":"qwen3_coder","params":{"is_git_repository":{RUNTIME_VARS_IS_GIT_REPO},"sandbox":"{RUNTIME_VARS_SANDBOX}"}}' ,
528533 } ,
0 commit comments