Skip to content

Commit

Permalink
Update to address new test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Feb 5, 2025
1 parent 33e4a6f commit 6c11093
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neon_llm_core/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def ask_appraiser(self, options: dict, context: dict = None) -> str:
answer_data = self._get_llm_api_choice(prompt=prompt_sentence,
responses=bot_responses)
LOG.info(f'Received answer_data={answer_data}')
if not answer_data:
LOG.error("No response to vote request")
return DEFAULT_VOTE
if len(answer_data.sorted_answer_indexes) != len(bots):
LOG.error(f"Invalid vote response! "
f"input_responses={bot_responses}|"
Expand Down

0 comments on commit 6c11093

Please sign in to comment.