Fix Gitlab/JsonSafeParse: ee/lib/gitlab/llm/chain/tools/identifier.rb
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Fix Gitlab/JsonSafeParse violations in this file by replacing Gitlab::Json.parse with Gitlab::Json.safe_parse.
Related MR: !215073 (merged)
Implementation Plan
A contributor needs to replace Gitlab::Json.parse with Gitlab::Json.safe_parse in this file.
References
To help you fix those violations, see the following guidance: https://gitlab.com/gitlab-org/gitlab/-/blob/18d80bbc5468cd2f987c5ea6abcf27709e40994a/.rubocop_todo/gitlab/json_safe_parse.yml
It is also recommended to read the following documentation on JsonParse:
Edited by Félix Veillette-Potvin