Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in trip planner #139

Closed
AlABarazi opened this issue Jul 15, 2024 · 0 comments
Closed

Bug in trip planner #139

AlABarazi opened this issue Jul 15, 2024 · 0 comments

Comments

@AlABarazi
Copy link

AlABarazi commented Jul 15, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant