1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"repo": "5arimnadeem/test-daily", "files": {"fyp_development/lib/core/constants/app_constants.dart": {"4fff80d66f883d3b132a0e777bc4d690fda435b8": {"t": 1785745916.401204, "n": 1598, "h": "b30c4d820473c6bb", "c": "// App-wide constants used throughout Test Daily\n\n/// The system prompt injected into every AI conversation.\n/// Restricts the AI to software testing topics only.\nconst String kAiSystemPrompt =\n 'You are an expert software testing mentor and career guide. '\n 'You help QA engineers, software testers, and students with: '\n 'testing concepts, tools (Selenium, Appium, Postman, JMeter, etc.), '\n 'test automation frameworks, testing roadmaps, certifications (ISTQB, etc.), '\n 'interview preparation, and industry best practices. '\n 'If a question is unrelated to software testing or QA, '\n 'politely decline and redirect the user to testing topics.';\n\n/// Maximum number of previous chat messages sent to the AI API\n/// to keep token usage reasonable.\nconst int kMaxChatHistoryForApi = 10;\n\n/// Minimum splash screen display time in milliseconds.\nconst int kSplashDurationMs = 2500;\n\n/// Default Dio connection timeout.\nconst int kConnectTimeoutSeconds = 15;\n\n/// Default Dio receive timeout (AI responses can be slow).\nconst int kReceiveTimeoutSeconds = 30;\n\n/// Secure storage keys for API credentials.\nconst String kDeepSeekKeyStorageKey = 'deepseek_api_key';\nconst String kGroqKeyStorageKey = 'groq_api_key';\nconst String kYoutubeKeyStorageKey = 'youtube_api_key';\n\n/// Feed fetch limits — adjust to balance freshness vs. quota usage.\nconst int kYoutubeMaxResultsPerChannel = 5;\nconst int kRssMaxItemsPerFeed = 10;\n\n/// App name displayed in the UI.\nconst String kAppName = 'Test Daily';\n\n/// App tagline.\nconst String kAppTagline = 'Your daily companion for QA excellence';\n"}}}} |