Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save vincenzopalazzo/e762e9068132369e244e21f555ee6c14 to your computer and use it in GitHub Desktop.

Select an option

Save vincenzopalazzo/e762e9068132369e244e21f555ee6c14 to your computer and use it in GitHub Desktop.
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:286:15)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Response Headers: {connection: keep-alive, access-control-allow-origin: *, transfer-encoding: chunked, date: Tue, 01 Jul 2025 14:05:46 GMT, content-encoding: gzip, cf-cache-status: DYNAMIC, report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=4uWNnJPVND9mDDgTh%2FnqLTsEQnEbGZ0hOarVibu0k39Jtg5R8vTJbZtNRNF52FJ7u9TgfWpts6GY%2FrD%2B7covgwWfLhvFtXxgelYzLLoN"}]}, x-clerk-auth-status: signed-out, content-type: application/json, x-clerk-auth-reason: token-invalid, x-clerk-auth-message: Invalid JWT form. A JWT consists of three parts separated by dots. (reason=token-invalid, token-carrier=header), server: cloudflare, alt-svc: h3=":443"; ma=86400, nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, cf-ray: 9586746a4c23be61-ZRH}
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:287:15)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Raw Response Body: {"id":"chatcmpl-844","choices":[{"finish_reason":"stop","index":0,"logprobs":null,"message":{"content":"### Analysis of Data\n\n#### 1. Sleep Quality Trends and Their Impact on Training Readiness\n- **Sleep Data**: The data does not explicitly include sleep quality metrics (e.g., duration, stages). However, we can infer from the workout sessions that you have been training consistently.\n\n**Recommendation**: \n- **Monitor Sleep**: Use a wearable device or app to track your sleep patterns. Aim for 7-9 hours of quality sleep per night.\n- **Consistency**: Ensure consistency in your sleep schedule to help regulate your circadian rhythm, which can improve recovery and readiness for workouts.\n\n#### 2. Stress Level Patterns and How They Affect Recovery\n- **Stress Data**: The data does not include stress levels directly. However, the intensity of recent workouts suggests a high-stress level.\n \n**Recommendation**: \n- **Stress Management**: Incorporate stress-reducing activities su
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:294:17)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Extracted Content from Prem AI: ### Analysis of Data
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 1. Sleep Quality Trends and Their Impact on Training Readiness
I/flutter (11586): │ 🐛 - **Sleep Data**: The data does not explicitly include sleep quality metrics (e.g., duration, stages). However, we can infer from the workout sessions that you have been training consistently.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Monitor Sleep**: Use a wearable device or app to track your sleep patterns. Aim for 7-9 hours of quality sleep per night.
I/flutter (11586): │ 🐛 - **Consistency**: Ensure consistency in your sleep schedule to help regulate your circadian rhythm, which can improve recovery and readiness for workouts.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 2. Stress Level Patterns and How They Affect Recovery
I/flutter (11586): │ 🐛 - **Stress Data**: The data does not include stress levels directly. However, the intensity of recent workouts suggests a high-stress level.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Stress Management**: Incorporate stress-reducing activities such as meditation, yoga, or deep breathing exercises into your routine.
I/flutter (11586): │ 🐛 - **Monitor Stress Levels**: Use apps to track your daily stress levels and correlate them with workout performance.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 3. Overall Recovery Status and Training Capacity
I/flutter (11586): │ 🐛 - **Workout Sessions**: You have been training consistently but with varying intensities (e.g., Back & Legs on July 1, Chest on June 30).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Recovery Days**: Ensure you have at least one full recovery day per week to allow for muscle repair and overall recovery.
I/flutter (11586): │ 🐛 - **Active Recovery**: On non-training days, engage in light activities like walking or stretching.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 4. Recent Workout History and Training Patterns
I/flutter (11586): │ 🐛 - **Workout Sessions**:
I/flutter (11586): │ 🐛 - July 1: Back & Legs (47 minutes)
I/flutter (11586): │ 🐛 - June 30: Chest (50 minutes)
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Balanced Routine**: Continue to balance your workouts between upper body, lower body, and core exercises.
I/flutter (11586): │ 🐛 - **Progressive Overload**: Gradually increase the weight or reps over time.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 5. Fitness Goals and Experience Level
I/flutter (11586): │ 🐛 - **Primary Goal**: Weight Loss
I/flutter (11586): │ 🐛 - **Experience Level**: Advanced
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Caloric Deficit**: Maintain a caloric deficit to support your weight loss goal.
I/flutter (11586): │ 🐛 - **Nutrition**: Ensure you are consuming enough protein for muscle repair and recovery.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 6. Appropriate Workout Intensity and Type for Today Based on My Goals
I/flutter (11586): │ 🐛 - **Current Status**: You have been training consistently but need to ensure adequate recovery.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Today’s Plan**: Consider a light or moderate workout with a focus on recovery exercises like:
I/flutter (11586): │ 🐛 - **Chest & Triceps**: Focus on isolation exercises (e.g., Cable Crossovers, Dumbbell Flyes) for 30 minutes.
I/flutter (11586): │ 🐛 - **Cardio**: Include 20-30 minutes of low-intensity cardio (e.g., walking or cycling).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 7. Any Red Flags or Concerning Patterns That Need Attention
I/flutter (11586): │ 🐛 - **High Intensity Workouts**: You have been doing high-intensity workouts with heavy weights and multiple sets.
I/flutter (11586): │ 🐛 - **Lack of Variety**: Your workouts are repetitive, focusing mainly on chest and back.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Variety in Training**: Incorporate different muscle groups to avoid overuse injuries and plateaus.
I/flutter (11586): │ 🐛 - **Listen to Your Body**: If you feel overly fatigued or sore, consider reducing the intensity or taking an extra recovery day.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 #### 8. Progressive Overload Opportunities Based on My Recent Sessions
I/flutter (11586): │ 🐛 - **Current Status**: You have been increasing weights gradually but need more structured progression.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 **Recommendation**:
I/flutter (11586): │ 🐛 - **Structured Progression**: Use a training log to track your progress and increase weight by 2.5-5% every two weeks.
I/flutter (11586): │ 🐛 - **Set Goals**: Set specific goals for each workout (e.g., add 10 pounds on the bench press in 4 weeks).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 ### Specific, Actionable Recommendations
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 1. **Sleep**:
I/flutter (11586): │ 🐛 - Use a wearable device to track sleep and aim for 7-9 hours per night.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 2. **Stress Management**:
I/flutter (11586): │ 🐛 - Incorporate 5-10 minutes of meditation or deep breathing exercises daily.
I/flutter (11586): │ 🐛 - Track your stress levels using an app like Headspace or Calm.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 3. **Recovery Days**:
I/flutter (11586): │ 🐛 - Ensure at least one full recovery day per week.
I/flutter (11586): │ 🐛 - Engage in light activities on non-training days (e.g., walking, stretching).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 4. **Balanced Routine**:
I/flutter (11586): │ 🐛 - Include a variety of muscle groups in your workouts to avoid overuse injuries and plateaus.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 5. **Today’s Plan**:
I/flutter (11586): │ 🐛 - Chest & Triceps: 30 minutes of isolation exercises.
I/flutter (11586): │ 🐛 - Cardio: 20-30 minutes of low-intensity cardio (e.g., walking or cycling).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 6. **Progressive Overload**:
I/flutter (11586): │ 🐛 - Increase weights by 2.5-5% every two weeks.
I/flutter (11586): │ 🐛 - Set specific goals for each workout.
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 7. **Nutrition**:
I/flutter (11586): │ 🐛 - Maintain a caloric deficit to support weight loss.
I/flutter (11586): │ 🐛 - Ensure adequate protein intake (1.6-2.2 grams per kg of body weight).
I/flutter (11586): │ 🐛
I/flutter (11586): │ 🐛 By implementing these recommendations, you can optimize your training and recovery while staying on track with your fitness goals.
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:295:17)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Content Length: 4753 characters
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:305:19)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ === JSON PARSING FAILED ===
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:306:19)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ JSON Parse Error: FormatException: Unexpected character (at character 1)
I/flutter (11586): │ ⛔ ### Analysis of Data
I/flutter (11586): │ ⛔ ^
I/flutter (11586): │ ⛔
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:307:19)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ Raw content that failed to parse: ### Analysis of Data
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 1. Sleep Quality Trends and Their Impact on Training Readiness
I/flutter (11586): │ ⛔ - **Sleep Data**: The data does not explicitly include sleep quality metrics (e.g., duration, stages). However, we can infer from the workout sessions that you have been training consistently.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Monitor Sleep**: Use a wearable device or app to track your sleep patterns. Aim for 7-9 hours of quality sleep per night.
I/flutter (11586): │ ⛔ - **Consistency**: Ensure consistency in your sleep schedule to help regulate your circadian rhythm, which can improve recovery and readiness for workouts.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 2. Stress Level Patterns and How They Affect Recovery
I/flutter (11586): │ ⛔ - **Stress Data**: The data does not include stress levels directly. However, the intensity of recent workouts suggests a high-stress level.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Stress Management**: Incorporate stress-reducing activities such as meditation, yoga, or deep breathing exercises into your routine.
I/flutter (11586): │ ⛔ - **Monitor Stress Levels**: Use apps to track your daily stress levels and correlate them with workout performance.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 3. Overall Recovery Status and Training Capacity
I/flutter (11586): │ ⛔ - **Workout Sessions**: You have been training consistently but with varying intensities (e.g., Back & Legs on July 1, Chest on June 30).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Recovery Days**: Ensure you have at least one full recovery day per week to allow for muscle repair and overall recovery.
I/flutter (11586): │ ⛔ - **Active Recovery**: On non-training days, engage in light activities like walking or stretching.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 4. Recent Workout History and Training Patterns
I/flutter (11586): │ ⛔ - **Workout Sessions**:
I/flutter (11586): │ ⛔ - July 1: Back & Legs (47 minutes)
I/flutter (11586): │ ⛔ - June 30: Chest (50 minutes)
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Balanced Routine**: Continue to balance your workouts between upper body, lower body, and core exercises.
I/flutter (11586): │ ⛔ - **Progressive Overload**: Gradually increase the weight or reps over time.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 5. Fitness Goals and Experience Level
I/flutter (11586): │ ⛔ - **Primary Goal**: Weight Loss
I/flutter (11586): │ ⛔ - **Experience Level**: Advanced
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Caloric Deficit**: Maintain a caloric deficit to support your weight loss goal.
I/flutter (11586): │ ⛔ - **Nutrition**: Ensure you are consuming enough protein for muscle repair and recovery.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 6. Appropriate Workout Intensity and Type for Today Based on My Goals
I/flutter (11586): │ ⛔ - **Current Status**: You have been training consistently but need to ensure adequate recovery.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Today’s Plan**: Consider a light or moderate workout with a focus on recovery exercises like:
I/flutter (11586): │ ⛔ - **Chest & Triceps**: Focus on isolation exercises (e.g., Cable Crossovers, Dumbbell Flyes) for 30 minutes.
I/flutter (11586): │ ⛔ - **Cardio**: Include 20-30 minutes of low-intensity cardio (e.g., walking or cycling).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 7. Any Red Flags or Concerning Patterns That Need Attention
I/flutter (11586): │ ⛔ - **High Intensity Workouts**: You have been doing high-intensity workouts with heavy weights and multiple sets.
I/flutter (11586): │ ⛔ - **Lack of Variety**: Your workouts are repetitive, focusing mainly on chest and back.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Variety in Training**: Incorporate different muscle groups to avoid overuse injuries and plateaus.
I/flutter (11586): │ ⛔ - **Listen to Your Body**: If you feel overly fatigued or sore, consider reducing the intensity or taking an extra recovery day.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ #### 8. Progressive Overload Opportunities Based on My Recent Sessions
I/flutter (11586): │ ⛔ - **Current Status**: You have been increasing weights gradually but need more structured progression.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ **Recommendation**:
I/flutter (11586): │ ⛔ - **Structured Progression**: Use a training log to track your progress and increase weight by 2.5-5% every two weeks.
I/flutter (11586): │ ⛔ - **Set Goals**: Set specific goals for each workout (e.g., add 10 pounds on the bench press in 4 weeks).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ ### Specific, Actionable Recommendations
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 1. **Sleep**:
I/flutter (11586): │ ⛔ - Use a wearable device to track sleep and aim for 7-9 hours per night.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 2. **Stress Management**:
I/flutter (11586): │ ⛔ - Incorporate 5-10 minutes of meditation or deep breathing exercises daily.
I/flutter (11586): │ ⛔ - Track your stress levels using an app like Headspace or Calm.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 3. **Recovery Days**:
I/flutter (11586): │ ⛔ - Ensure at least one full recovery day per week.
I/flutter (11586): │ ⛔ - Engage in light activities on non-training days (e.g., walking, stretching).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 4. **Balanced Routine**:
I/flutter (11586): │ ⛔ - Include a variety of muscle groups in your workouts to avoid overuse injuries and plateaus.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 5. **Today’s Plan**:
I/flutter (11586): │ ⛔ - Chest & Triceps: 30 minutes of isolation exercises.
I/flutter (11586): │ ⛔ - Cardio: 20-30 minutes of low-intensity cardio (e.g., walking or cycling).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 6. **Progressive Overload**:
I/flutter (11586): │ ⛔ - Increase weights by 2.5-5% every two weeks.
I/flutter (11586): │ ⛔ - Set specific goals for each workout.
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ 7. **Nutrition**:
I/flutter (11586): │ ⛔ - Maintain a caloric deficit to support weight loss.
I/flutter (11586): │ ⛔ - Ensure adequate protein intake (1.6-2.2 grams per kg of body weight).
I/flutter (11586): │ ⛔
I/flutter (11586): │ ⛔ By implementing these recommendations, you can optimize your training and recovery while staying on track with your fitness goals.
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:311:21)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Attempting to clean and fix JSON...
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService._cleanJsonContent (package:pump/services/prem_ai_service.dart:612:13)
I/flutter (11586): │ #1 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:312:36)
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ 🐛 Extracting JSON content...
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:320:21)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ === CLEANED JSON PARSING ALSO FAILED ===
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 PremAIService.callPremAPI (package:pump/services/prem_ai_service.dart:321:21)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ Clean JSON Parse Error: FormatException: No JSON object found in content
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 AITrainingAdvisor.getTrainingRecommendations (package:pump/fitness/services/ai_training_advisor.dart:63:15)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ Error getting training recommendations: type 'Null' is not a subtype of type 'String' in type cast
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (11586): │ #0 _TrainingAdvisorViewState._getRecommendations (package:pump/fitness/views/training_advisor_view.dart:127:15)
I/flutter (11586): │ #1 <asynchronous suspension>
I/flutter (11586): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (11586): │ ⛔ Error fetching training recommendations: Exception: Failed to get AI recommendations
I/flutter (11586): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment