feat: add AI recommendations flow for tenders

Implement company AI onboarding/recommendation models, services, repository, and tender UI integration with supporting tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
AmirReza Jamali
2026-06-16 11:47:52 +03:30
parent 83b32549ce
commit 50e4f43738
34 changed files with 2558 additions and 112 deletions
+9
View File
@@ -9,4 +9,13 @@ class PrefKeys {
static const String bearer = 'bearer';
static const String refreshToken = 'refresh_token';
static const String customerData = 'customer_data';
/// Fingerprint (hash of the company's document ids + website) of the last
/// profile version we triggered AI onboarding for. Lets us skip redundant
/// `POST /api/v1/onboarding` calls until the company's data actually changes.
static const String onboardingFingerprint = 'ai_onboarding_fingerprint';
/// Epoch milliseconds when AI onboarding was last started. Used by the
/// Recommended tab to show a "still learning" hint for a short grace period.
static const String onboardingStartedAt = 'ai_onboarding_started_at';
}