From 60f26cc0678e433fb68bac76a607bbbc5ffed645 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 17 Dec 2024 12:55:43 -0800 Subject: [PATCH] refactor: Move is_uuid_in_percentage and fix import --- aider/analytics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/analytics.py b/aider/analytics.py index 78e13e702..e253caff5 100644 --- a/aider/analytics.py +++ b/aider/analytics.py @@ -10,6 +10,7 @@ from posthog import Posthog from aider import __version__ from aider.dump import dump # noqa: F401 +from aider.models import model_info_manager def compute_hex_threshold(percent): @@ -49,8 +50,6 @@ def is_uuid_in_percentage(uuid_str, percent): return uuid_str[:6] <= threshold -from aider.models import model_info_manager - mixpanel_project_token = "6da9a43058a5d1b9f3353153921fb04d" posthog_project_api_key = "phc_99T7muzafUMMZX15H8XePbMSreEUzahHbtWjy3l5Qbv" posthog_host = "https://us.i.posthog.com"