L5_tasks_event_planning: logistics_task doesn't stop on human input

Running the crew, I have two points for human input: at venue_task and logistics_task.

First one is paused for human input and finished successfully:

Final Answer: The Moscone Center in San Francisco, located at 747 Howard Street, is an ideal venue for the Tech Innovation Conference. It offers advanced production and audio visual services, extensive exhibitor guidelines, and robust telecom/internet services, ensuring a high-tech environment suitable for such an event. The venue also emphasizes environmental sustainability, diversity, and inclusion, adding to its appeal for modern conferences. The Moscone Center is managed by ASM Global and owned by SFGov, providing a reputable and professional setting for the conference. For booking and further information, contact can be made via their website at https://www.moscone.com/ or by phone at 415.974.4000.

Finished chain.
[DEBUG]: == [Venue Coordinator] Task output: {
“name”: “The Moscone Center”,
“address”: “747 Howard Street, San Francisco, CA”,
“capacity”: 0,
“booking_status”: “Contact for availability”
}

Second doesn’t pause and failed with error:

----- 8 last lines before exception and exception itself ------------
This is the agent final answer: To confirm the availability of The Moscone Center for our event on 2024-09-15, you will need to submit a Request for Proposal (RFP) to the San Francisco Travel Association. They are responsible for booking all events at The Moscone Center. After submitting the RFP, one of their Convention Sales staff will assist you in determining the best space for our event and guide you through the licensing and planning process.

For further inquiries or to submit the RFP, you can contact the Convention Sales Department at convention-sales@sftravel.com. If you have general questions about holding an event at The Moscone Center, you may also reach out to them.
Please provide a feedback:
Exception in thread Thread-6 (_execute):
Traceback (most recent call last):
File “C:\Program Files\Python311\Lib\threading.py”, line 1038, in _bootstrap_inner
self.run()
File “C:\Program Files\Python311\Lib\threading.py”, line 975, in run
self._target(*self._args, **self._kwargs)
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\task.py”, line 182, in _execute
result = agent.execute_task(
^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agent.py”, line 221, in execute_task
result = self.agent_executor.invoke(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\chains\base.py”, line 163, in invoke
raise e
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\chains\base.py”, line 153, in invoke
self._call(inputs, run_manager=run_manager)
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py”, line 124, in _call
next_step_output = self._take_next_step(
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\agents\agent.py”, line 1138, in _take_next_step
[
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\agents\agent.py”, line 1138, in
[
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py”, line 245, in _iter_next_step
human_feedback = self._ask_human_input(output.return_values[“output”])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py”, line 300, in _ask_human_input
return input(
^^^^^^
EOFError: EOF when reading a line

The same error happens when I run notebook locally and online at course page:

venue_task stops on user input:
Please provide a feedback: I’m agree with the Moscone Center in San Francisco.
If I change human_input=False in logistics_task, everything works without errors. So it looks like somehow logistics_task doesn’t work if human_input=True.

Hi @at61,

I tried running this lab, and didn’t come across this issue. Maybe it was a temporary thing ? Could you try again and let me know ?

Also, make sure you click in the text box before you start typing.

Best,
Mubsi

Hi,

I run l5 with both 3.5-turbo and 4-turbo. In both cases:

Venue task stops on user input and I am able to respond.

Please provide a feedback:  sure

Final Answer:

if logistics task requires human input, it throws exception:

This is the agent final answer: Unfortunately, I was unable to retrieve specific information about the Santa Clara Convention Center's capacity for 500 participants on 2024-09-15 and their ability to handle catering and equipment setup. I recommend contacting the convention center directly for more detailed information.
Please provide a feedback: 
Exception in thread Thread-10 (_execute):
Traceback (most recent call last):
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\task.py", line 182, in _execute
    result = agent.execute_task(
             ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agent.py", line 221, in execute_task
    result = self.agent_executor.invoke(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\chains\base.py", line 163, in invoke
    raise e
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\chains\base.py", line 153, in invoke
    self._call(inputs, run_manager=run_manager)
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py", line 124, in _call
    next_step_output = self._take_next_step(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\agents\agent.py", line 1138, in _take_next_step
    [
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\langchain\agents\agent.py", line 1138, in <listcomp>
    [
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py", line 245, in _iter_next_step
    human_feedback = self._ask_human_input(output.return_values["output"])
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\USER\AppData\Roaming\Python\Python311\site-packages\crewai\agents\executor.py", line 300, in _ask_human_input
    return input(
           ^^^^^^
EOFError: EOF when reading a line