Merge main into cursor/implement-usage-based-subscription-and-monitoring-0179

- Resolved merge conflicts in gemini_grounded_provider.py
- Removed conflicting Python cache file
- Integrated latest LinkedIn Writer features from main branch
This commit is contained in:
ajaysi
2025-09-12 16:58:26 +05:30
24 changed files with 4196 additions and 1881 deletions

View File

@@ -396,9 +396,7 @@ class GeminiGroundedProvider:
logger.error(f"First candidate structure: {dir(candidates[0]) if candidates else 'No candidates'}")
raise ValueError("No grounding metadata found - grounding is not working properly")
else:
logger.error("❌ CRITICAL: No candidates found in response")
logger.error(f"Response structure: {dir(response)}")
raise ValueError("No candidates found in response - grounding is not working properly")
logger.warning("⚠️ No candidates found in response. Returning content without sources.")
# Add content-specific processing
if content_type == "linkedin_post":