Ajitesh Abhishek
Results
2
comments of
Ajitesh Abhishek
Facing same issue for reviewing code (which is supposed to be written badly): The `response.text` quick accessor only works when the response contains a valid `Part`, but none was returned....
You need to pass Safety Settings. Here is how I did in one of my open source repo: https://github.com/ajitesh123/auto-review-ai/blob/main/backend/llm.py#L177-L198 (Please star my repo if this solves for you :))