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 a9e2b2a commit 3e96d6bCopy full SHA for 3e96d6b
lib/cadet_web/controllers/generate_ai_comments.ex
@@ -52,9 +52,6 @@ defmodule CadetWeb.AICodeAnalysisController do
52
53
defp check_llm_grading_parameters(llm_api_key, llm_model, llm_api_url, llm_course_level_prompt) do
54
cond do
55
- is_nil(llm_api_key) ->
56
- {:parameter_error, "LLM API key is not configured for this course or in the environment"}
57
-
58
is_nil(llm_model) or llm_model == "" ->
59
{:parameter_error, "LLM model is not configured for this course"}
60
0 commit comments