mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-03-08 23:13:56 -05:00
advanced_ai_agents/ai_health_fitness_agent SSL certification BUG? #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CSrookie11 on GitHub (May 4, 2025).
ERROR Unknown error from Gemini API: [Errno 22] Invalid argument
WARNING Attempt 1/1 failed: [Errno 22] Invalid argument
ERROR Failed after 1 attempts. Last error using Gemini(gemini-2.0-flash)
@Shubhamsaboo commented on GitHub (May 23, 2025):
@claude can you please fix this bug?
@claude[bot] commented on GitHub (May 23, 2025):
Claude finished @Shubhamsaboo's task —— View job •
claude/issue-197-20250523_005154• Create PR ➔I'll analyze and fix this SSL certification bug in the health fitness agent.
Todo List:
Root Cause & Solution:
The issue was not an SSL certification problem, but a model ID incompatibility. The health fitness agent was using
gemini-1.5-flashwhich caused "[Errno 22] Invalid argument" errors.Fixed by:
health_agent.py:107fromgemini-1.5-flashtogemini-2.0-flashChanges Made:
advanced_ai_agents/single_agent_apps/ai_health_fitness_agent/health_agent.pyclaude/issue-197-20250523_005154The health fitness agent should now work without the "[Errno 22] Invalid argument" error.
@Shubhamsaboo commented on GitHub (Jun 15, 2025):
It's working for me with the same code. Most likely some issue with your Gemini API key.
https://github.com/user-attachments/assets/feb99faa-d87f-45b9-a826-92e496f111ea