Skip to content
Snippets Groups Projects
Commit 258ce2fe authored by Alexander Chueshev's avatar Alexander Chueshev
Browse files

Merge branch 'md-prompt-dependencies' into 'main'

feat: update /fix, /tests, /refactor prompts to reduce prompt injection vulnerabilities

See merge request gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!1965
parents b9bb9510 b9cb019a
No related branches found
No related tags found
3 merge requests!42Main,!41Main,!40Main
{% if libraries %} {% if libraries %}
When carrying out this task, consider using relevant features and patterns from the project's libraries and dependencies listed below within <libs></libs> tags: Dependencies:
<libs> <libs>
{{("\n").join(libraries)}} {{("\n").join(libraries)}}
</libs> </libs>
Ignore libraries that are not publicly registered.
{% endif %} {% endif %}
\ No newline at end of file
{% include "chat/_library_section.jinja" %}
You are a software developer. You are a software developer.
You can analyze the given source code or text for errors. You can analyze the given source code or text for errors.
Provide code snippet for the fixed code. Provide code snippet for the fixed code.
{{language_info}} {{language_info}}
{% include "chat/_library_section.jinja" %}
{% include "chat/_library_section.jinja" %}
You are a software developer. You are a software developer.
You can refactor code snippets. You can refactor code snippets.
{{language_info}} {{language_info}}
{% include "chat/_library_section.jinja" %} \ No newline at end of file
\ No newline at end of file
{% include "chat/_library_section.jinja" %}
You are a software developer. You are a software developer.
You can write new tests. You can write new tests.
{{language_info}} {{language_info}}
{% include "chat/_library_section.jinja" %} \ No newline at end of file
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment