What are the cities options you are interested in visiting?
paris
What is the date range you are interested in traveling?
august
What are some of your high level interests and hobbies?
beach
Traceback (most recent call last):
File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/main.py", line 78, in
result = trip_crew.run()
^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/main.py", line 26, in run
identify_task = tasks.identify_task(
^^^^^^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/trip_tasks.py", line 9, in identify_task
return Task(description=dedent(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/Caches/pypoetry/virtualenvs/crewai_playground-IRQHd8YZ-py3.11/lib/python3.11/site-packages/crewai/task.py", line 114, in init
super().init(config, data)
File "/Users/alaaalbarazi/Library/Caches/pypoetry/virtualenvs/crewai_playground-IRQHd8YZ-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 193, in init
self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Task
expected_output
Field required [type=missing, input_value={'description': "\nAnalyz...ick ideal destinations)}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
Hi, I am experiencing bug the example trip planner. https://github.com/crewAIInc/crewAI-examples/tree/main/trip_planner I am using "OPENAI" and model "gpt-3.5"
/Users/alaaalbarazi/Library/Caches/pypoetry/virtualenvs/crewai_playground-IR QHd8YZ-py3.11/bin/python "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/P rojects/Python_Projects/crewai/trip_planner/main.py"
Welcome to Trip Planner Crew
From where will you be traveling from? helsinki
What are the cities options you are interested in visiting? paris
What is the date range you are interested in traveling? august
What are some of your high level interests and hobbies? beach
Traceback (most recent call last): File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/main.py", line 78, in
result = trip_crew.run()
^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/main.py", line 26, in run
identify_task = tasks.identify_task(
^^^^^^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/CloudStorage/GoogleDrive-alaabarazi@gmail.com/My Drive/Projects/Python_Projects/crewai/trip_planner/trip_tasks.py", line 9, in identify_task
return Task(description=dedent(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alaaalbarazi/Library/Caches/pypoetry/virtualenvs/crewai_playground-IRQHd8YZ-py3.11/lib/python3.11/site-packages/crewai/task.py", line 114, in init
super().init(config, data)
File "/Users/alaaalbarazi/Library/Caches/pypoetry/virtualenvs/crewai_playground-IRQHd8YZ-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 193, in init
self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Task
expected_output
Field required [type=missing, input_value={'description': "\nAnalyz...ick ideal destinations)}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
poetry toml file [tool.poetry.dependencies] python = ">=3.11,<=3.13" crewai = "" langchain-core = ">=0.2.17,<0.3" langchain-anthropic = "0.1.20" poetry = "" pipenv-poetry-migrate = "*" crewai-tools = "^0.4.8" langchain-groq = "^0.1.6" langchain-google-genai = "^1.0.7" langchain-community = "^0.2.7"