Fix formatting of issue summaries
In some summaries, we found random numbers within tags or closing the summary with """. This was due to the format we requested from the LLM. With the new prompt we separate each comment within a <comment> tag, remove the random number and the """ at the end of the prompt. Changelog: changed EE: true
显示
- ee/lib/gitlab/llm/chain/tools/summarize_comments/executor.rb 6 个添加, 7 个删除ee/lib/gitlab/llm/chain/tools/summarize_comments/executor.rb
- ee/spec/lib/gitlab/llm/chain/tools/summarize_comments/prompts/anthropic_spec.rb 7 个添加, 7 个删除.../chain/tools/summarize_comments/prompts/anthropic_spec.rb
- ee/spec/lib/gitlab/llm/chain/tools/summarize_comments/prompts/vertex_ai_spec.rb 7 个添加, 7 个删除.../chain/tools/summarize_comments/prompts/vertex_ai_spec.rb
加载中
想要评论请 注册 或 登录