@SIDDHARRTHASARKAR Did you get a chance to checkout the code here: github.com/futurminds/automate-twitter-posts Can you share the complete error you are getting? I'll try to help.
@user-cr2lu9gi3f If you are referring to rate limit from Groq, you can add max_rpm = 3 to your Crew: my_crew = Crew( agents=[researcher, writer], tasks=[research_task, write_article_task], process=Process.sequential, full_output=True, verbose=True, max_rpm=3 ) More info: docs.crewai.com/core-concepts/Crews/#example-assembling-a-crew This will make your crew slow as only 3 requests will be made to groq per minute.
I am still getting rate limit reach for groq 6000, after implementing the max_rpm=3, but it's a bit delayed now
I switched to 8b model now it's working perfectly. rate limit is 30000 in this model so i don't think i will encounter any more error. THANKS!
yes same
sir, I got alot of error like result = crew.kickoff()
result = agent.execute_task😢😢
@SIDDHARRTHASARKAR Did you get a chance to checkout the code here: github.com/futurminds/automate-twitter-posts
Can you share the complete error you are getting? I'll try to help.
@@FuturMinds Please give a code to resolve rate limit problem
and where to add it
@user-cr2lu9gi3f If you are referring to rate limit from Groq, you can add max_rpm = 3 to your Crew:
my_crew = Crew(
agents=[researcher, writer],
tasks=[research_task, write_article_task],
process=Process.sequential,
full_output=True,
verbose=True,
max_rpm=3
)
More info: docs.crewai.com/core-concepts/Crews/#example-assembling-a-crew
This will make your crew slow as only 3 requests will be made to groq per minute.
@@FuturMinds thanks
@@FuturMinds i am still hittin the limit