Skip to content
Discussion options

You must be logged in to vote

@hwbest 感谢你的想法,我个人建议是如果要做这个功能的话,最好把commit msg 的评审和代码的评审区分开。主要是几个原因:

  • 工作区模式下的评审是没有commit 概念的,其次 range 模式下可能存在大量 commit,这种情况下和代码本身的评审耦合在一起,以当前大模型注意力机制来讲,我觉得对效果的副作用可能会更大。
  • 变相引导用户使用变基,这容易造成风险。
  • 用户行为不一定希望它捆绑在代码评审上,如果通过复杂二级参数来控制,不如提供一个单独的能力,例如 review msg 之类的。

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hwbest
Comment options

@lizhengfeng101
Comment options

Answer selected by hwbest
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