Adds string prompt versioning
Allows GitLab to specify which base version of a prompt to use, so that prompt can be automatically updated without causing issues to older versions of GitLab.
显示
- ee/app/services/llm/git_command_service.rb 1 个添加, 4 个删除ee/app/services/llm/git_command_service.rb
- ee/lib/gitlab/llm/ai_gateway/client.rb 22 个添加, 0 个删除ee/lib/gitlab/llm/ai_gateway/client.rb
- ee/lib/gitlab/llm/ai_gateway/completions/base.rb 8 个添加, 13 个删除ee/lib/gitlab/llm/ai_gateway/completions/base.rb
- ee/lib/gitlab/llm/chain/requests/ai_gateway.rb 8 个添加, 2 个删除ee/lib/gitlab/llm/chain/requests/ai_gateway.rb
- ee/lib/gitlab/llm/prompt_versions.rb 142 个添加, 0 个删除ee/lib/gitlab/llm/prompt_versions.rb
- ee/spec/lib/gitlab/llm/ai_gateway/client_spec.rb 68 个添加, 0 个删除ee/spec/lib/gitlab/llm/ai_gateway/client_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/base_spec.rb 19 个添加, 9 个删除ee/spec/lib/gitlab/llm/ai_gateway/completions/base_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/categorize_question_spec.rb 6 个添加, 3 个删除...ab/llm/ai_gateway/completions/categorize_question_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/generate_commit_message_spec.rb 8 个添加, 5 个删除...lm/ai_gateway/completions/generate_commit_message_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/generate_description_spec.rb 12 个添加, 6 个删除...b/llm/ai_gateway/completions/generate_description_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/measure_comment_temperature_spec.rb 12 个添加, 6 个删除...i_gateway/completions/measure_comment_temperature_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/resolve_vulnerability_spec.rb 16 个添加, 11 个删除.../llm/ai_gateway/completions/resolve_vulnerability_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/summarize_new_merge_request_spec.rb 12 个添加, 6 个删除...i_gateway/completions/summarize_new_merge_request_spec.rb
- ee/spec/lib/gitlab/llm/ai_gateway/completions/summarize_review_spec.rb 12 个添加, 6 个删除...itlab/llm/ai_gateway/completions/summarize_review_spec.rb
- ee/spec/lib/gitlab/llm/chain/requests/ai_gateway_spec.rb 12 个添加, 2 个删除ee/spec/lib/gitlab/llm/chain/requests/ai_gateway_spec.rb
- ee/spec/lib/gitlab/llm/prompt_versions_spec.rb 136 个添加, 0 个删除ee/spec/lib/gitlab/llm/prompt_versions_spec.rb
- ee/spec/services/llm/git_command_service_spec.rb 1 个添加, 1 个删除ee/spec/services/llm/git_command_service_spec.rb
加载中
想要评论请 注册 或 登录