mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix for wrong column name (#11735)
This commit is contained in:
parent
e3d0380c2e
commit
f24d2a61e6
@ -278,7 +278,7 @@ class SQLAppConversationInfoService(AppConversationInfoService):
|
||||
)
|
||||
result = await self.db_session.execute(query)
|
||||
existing = result.scalar_one_or_none()
|
||||
assert existing is None or existing.created_by_user_id == user_id
|
||||
assert existing is None or existing.user_id == user_id
|
||||
|
||||
metrics = info.metrics or MetricsSnapshot()
|
||||
usage = metrics.accumulated_token_usage or TokenUsage()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user