Skip to content
Discussion options

You must be logged in to vote

This looks like expected behaviour rather than a bug. num_code_suggestions_per_chunk is an upper bound per chunk, and for an MR small enough to fit the model context the whole diff is one chunk, so raising it and max_number_of_calls to 9 has no effect. Coverage is a separate matter: files with filtered or unrecognised extensions are dropped or deprioritised before the model sees them, so please check what extensions the files under error_demo2/ use. Running with verbosity_level=2 will log which files were treated as invalid. If suggestions are simply clustering in one file, set pr_code_suggestions.max_suggestions_per_file to a positive integer, which caps retention per file after chunks a…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@luoyq-Rockey
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by IsmaelMartinez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants