Skip to content

Commit 3e96d6b

Browse files
committed
Fix type
1 parent a9e2b2a commit 3e96d6b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/cadet_web/controllers/generate_ai_comments.ex

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ defmodule CadetWeb.AICodeAnalysisController do
5252

5353
defp check_llm_grading_parameters(llm_api_key, llm_model, llm_api_url, llm_course_level_prompt) do
5454
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-
5855
is_nil(llm_model) or llm_model == "" ->
5956
{:parameter_error, "LLM model is not configured for this course"}
6057

0 commit comments

Comments
 (0)