Skip to content

Commit

Permalink
chore: updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik committed Jan 23, 2025
1 parent 3d74439 commit 91f27de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aidial_analytics_realtime/log_request/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def get_assembled_response(message: dict) -> dict | None:

assembled_response = json.loads(assembled_response_str)

# NOTE: this becomes redundant when https://github.com/epam/ai-dial-core/pull/648
# is merged and deployed to production
# NOTE: this transformation becomes redundant in ai-dial-core>=0.22.1
# due to the fix https://github.com/epam/ai-dial-core/pull/648
for choice in assembled_response.get("choices") or []:
if "delta" in choice:
choice["message"] = choice["delta"]
Expand Down

0 comments on commit 91f27de

Please sign in to comment.