Skip to content

Commit

Permalink
fix: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik committed Dec 27, 2024
1 parent 803fd15 commit 4925850
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion aidial_analytics_realtime/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ async def make_point(
trace: dict | None,
execution_path: list | None,
):
chat_id = chat_id or str(uuid4()) # FIXME: revert the fix
topic = None
response_content = ""
request_content = ""
Expand Down
2 changes: 1 addition & 1 deletion tests/mocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ async def __call__(self, logger, record):


class TopicModelMock:
def get_topic_by_text(self, logger, text):
async def get_topic_by_text(self, logger, text):
return text or None

0 comments on commit 4925850

Please sign in to comment.