Qwen3-Coder icon indicating copy to clipboard operation
Qwen3-Coder copied to clipboard

Code Completion format for repo-level tasks

Open OpEnD17 opened this issue 4 months ago • 0 comments

The file-level prompt was constructed as:

'<|fim_prefix|>' + prefix_code + '<|fim_suffix|>' + suffix_code + '<|fim_middle|>'

The repo-level prompt was constructed as: <|repo_name|>{repo_name} <|file_sep|>{file_path1} {file_content1} <|file_sep|>{file_path2} {file_content2}

Does this mean that repo-level code completion does not support FIM and can only perform continuation?

OpEnD17 avatar Aug 11 '25 08:08 OpEnD17