Rename completions templates to DuoChat
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
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.
Implementation plan
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
ee/app/assets/stylesheets/components/tanuki_bot.scss
ee/spec/frontend/ai/tanuki_bot/components/tanuki_bot_subscriptions_spec.js
ee/spec/frontend/ai/tanuki_bot/components/app_spec.js
ee/app/assets/javascripts/ai/tanuki_bot/components/app.vue
ee/app/assets/javascripts/ai/tanuki_bot/components/tanuki_bot_subscriptions.vue
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