We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58345d4 + 8669e3a commit 353b533Copy full SHA for 353b533
lib/cadet_web/controllers/generate_ai_comments.ex
@@ -169,9 +169,8 @@ defmodule CadetWeb.AICodeAnalysisController do
169
end
170
171
defp format_system_prompt(course_prompt, assessment_prompt, answer) do
172
- course_prompt || "" <> "\n\n" <> assessment_prompt ||
173
- "" <>
174
- "\n\n" <>
+ (course_prompt || "") <> "\n\n" <> (assessment_prompt || "") <>
+ "\n\n" <>
175
"""
176
**Additional Instructions for this Question:**
177
#{answer.question.question["llm_prompt"] || "N/A"}
0 commit comments