Rename completions templates to DuoChat
Context
Before the name "GitLab Duo" existed, we called Duo Chat "Tanuki Bot". As a result, there is a lot of code in gitlab-org/gitlab
that references this old name.
Definition of done
These files and related tests are moved/renamed to Chat
or DuoChat
instead of TanukiBot
(conversation about naming here):
-
- unused, removed via !136654 (merged)ee/lib/gitlab/llm/anthropic/completions/tanuki_bot.rb
ee/lib/gitlab/llm/anthropic/response_modifiers/tanuki_bot.rb
ee/lib/gitlab/llm/anthropic/templates/tanuki_bot.rb
Testing
There are RSpec tests for AI code. Make sure that any unit tests for removed code are also removed. If there are references to the removed code in integration tests, see if those code paths are needed or can be eliminated.
To ensure that the real LLM requests still work, ask the reviewer of the MR to trigger CI jobs that run real AI requests: https://docs.gitlab.com/ee/development/ai_features/duo_chat.html#running-the-rspecs-tagged-with-real_ai_request
Edited by Jessie Young