Skip to content

Commit 86acd6e

Browse files
committed
simplify
1 parent 64bb5f7 commit 86acd6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ldai/chat/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ async def invoke(self, prompt: str) -> ChatResponse:
7272
and self._ai_config.judge_configuration.judges
7373
and len(self._ai_config.judge_configuration.judges) > 0
7474
):
75-
evaluation_tasks = self._start_judge_evaluations(self._messages, response)
76-
response.evaluations = evaluation_tasks
75+
response.evaluations = self._start_judge_evaluations(self._messages, response)
7776

7877
# Add the response message to conversation history
7978
self._messages.append(response.message)

0 commit comments

Comments
 (0)