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.
1 parent 2947f3c commit 8669e3aCopy full SHA for 8669e3a
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