Skip to content

Commit b995a9f

Browse files
committed
lol
1 parent 824e0db commit b995a9f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

eval_protocol/adapters/langfuse.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,9 @@ def get_evaluation_rows(
9595
to_timestamp = None
9696
from_timestamp = None
9797

98-
# Temporary: Fetch more traces than needed, then randomly sample
99-
fetch_limit = min(limit * 3, 500) # Fetch 3x more traces than needed (up to 500 max)
100-
101-
logger.debug("Fetching %d traces to randomly sample %d", fetch_limit, limit)
102-
10398
# Single API call to get trace list
10499
traces = self.client.api.trace.list(
105-
limit=fetch_limit,
100+
limit=limit,
106101
tags=tags,
107102
user_id=user_id,
108103
session_id=session_id,

0 commit comments

Comments
 (0)