File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
autogpt_platform/backend/test Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3333 APIKeyCreateInput ,
3434 CreditTransactionCreateInput ,
3535 IntegrationWebhookCreateInput ,
36- LibraryAgentCreateInput ,
3736 ProfileCreateInput ,
3837 StoreListingReviewCreateInput ,
3938 UserCreateInput ,
@@ -213,12 +212,12 @@ async def main():
213212
214213 for i in range (num_agents ):
215214 graph = available_graphs [i ] # Use unique graph for each library agent
216-
215+
217216 # Get creator profile for this graph's owner
218217 creator_profile = next (
219218 (p for p in profiles if p .userId == graph .userId ), None
220219 )
221-
220+
222221 library_agent = await db .libraryagent .create (
223222 data = {
224223 "userId" : user .id ,
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ async def main():
304304 )
305305 print ("\n Top 5 store listings by rating:" )
306306 for row in sample_reviews :
307- avg_rating = row [' avg_rating' ] if row [' avg_rating' ] is not None else 0.0
307+ avg_rating = row [" avg_rating" ] if row [" avg_rating" ] is not None else 0.0
308308 print (
309309 f" - Listing { row ['storeListingId' ][:8 ]} ...: { avg_rating :.2f} ⭐ ({ row ['review_count' ]} reviews)"
310310 )
You can’t perform that action at this time.
0 commit comments