crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
20.7k stars 2.86k forks source link

pydantic conversion problem #272

Closed Natureboy100 closed 2 months ago

Natureboy100 commented 8 months ago

Failed to convert text into a pydantic model due to the following error: Unexpected message with type <class 'langchain_core.messages.system.SystemMessage'> at the position 1.

i keep getting this for everything, just to give some context it doesnt work with gemini at all and it used to work, alot of gemini projects of many diffrnet people that used to work that dont work at all.

Natureboy100 commented 8 months ago

i would like to update that this error happens only with gemini i have tried many diffrent gemini projects from github on colab and gitpod and they all give the same problems.

vnakhate commented 8 months ago

I have the same issue with Gemini as well on Google colab

ethanreedy-DC commented 8 months ago

I just upgraded today to 0.16.3 and probably skipped a few releases. Now I'm getting this same error when using Gemini, but not Mixtral on TogetherAI.

joaomdmoura commented 8 months ago

Yup it seems gemini doesn't do the function calling, we are working on na fix that should come out this week still where we will revamp some of the tool usage logic

João Moura @joaomdmoura http://twitter.com/joaomdmoura

Em qui., 29 de fev. de 2024 às 23:44, ethanreedy-DC < @.***> escreveu:

I just upgraded today to 0.16.3 and probably skipped a few releases. Now I'm getting this same error when using Gemini, but not Mixtral on TogetherAI.

— Reply to this email directly, view it on GitHub https://github.com/joaomdmoura/crewAI/issues/272#issuecomment-1972365532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFC3N6AU746CK6HGP43B5DYV7TPRAVCNFSM6AAAAABDY2DBDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGM3DKNJTGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 5 days with no activity.