Change additional context to accept string/symbol keys
What does this MR do and why?
Builds on gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!1194 (merged) and addresses this comment: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!1194 (comment 2045322731)
This MR addresses an issue where the content
key in additional_context
is sometimes passed as a string and sometimes a symbol. Using indifferent access fixes the issue.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Missy Davies