[GH-ISSUE #258] Errors while trying to run the AI Travel Agent with MCP example app #6409

Closed
opened 2026-05-31 13:42:06 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @kabeza on GitHub (Jun 24, 2025).
Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/258

Hi
I've followed step by step (successfuly, without errors) the tutorial
https://www.theunwindai.com/p/build-an-ai-travel-planning-agent-with-mcp

But now I'm having issues while trying to run the app.py with streamlit run app.py command

Image

21 │ from openai.types.chat import ChatCompletionAudio
ImportError: cannot import name 'ChatCompletionAudio' from 'openai.types.chat'

Image

When I execute pip list | grep openai I get that it is successfully installed
openai 1.12.0

What could be wrong?
Thanks a lot for any guidance about this

Originally created by @kabeza on GitHub (Jun 24, 2025). Original GitHub issue: https://github.com/Shubhamsaboo/awesome-llm-apps/issues/258 Hi I've followed step by step (successfuly, without errors) the tutorial https://www.theunwindai.com/p/build-an-ai-travel-planning-agent-with-mcp But now I'm having issues while trying to run the app.py with **streamlit run app.py** command ![Image](https://github.com/user-attachments/assets/3cb6a7d4-4c60-494f-a93e-0b40bc1c4759) 21 │ from openai.types.chat import ChatCompletionAudio ImportError: cannot import name 'ChatCompletionAudio' from 'openai.types.chat' ![Image](https://github.com/user-attachments/assets/61359249-b9d2-4e55-ac0b-9e782a4092a0) When I execute **pip list | grep openai** I get that it is successfully installed openai 1.12.0 What could be wrong? Thanks a lot for any guidance about this
Author
Owner

@Madhuvod commented on GitHub (Jul 12, 2025):

The issue is that agno==1.2.13 is not compatible with openai==1.12.0. The agno library is trying to import ChatCompletionAudio which doesn't exist in the current version of the OpenAI library. needed to change the library versions in requirements.txt - https://github.com/Shubhamsaboo/awesome-llm-apps/pull/277

<!-- gh-comment-id:3065957257 --> @Madhuvod commented on GitHub (Jul 12, 2025): The issue is that agno==1.2.13 is not compatible with openai==1.12.0. The agno library is trying to import ChatCompletionAudio which doesn't exist in the current version of the OpenAI library. needed to change the library versions in requirements.txt - https://github.com/Shubhamsaboo/awesome-llm-apps/pull/277
Author
Owner

@kabeza commented on GitHub (Jul 14, 2025):

Thanks @Madhuvod now I could run the app, fill the form, etc. but now I'm getting this (in console) when submitting web form:

ERROR Failed to get MCP tools: Timed out while waiting for response to ClientRequest. Waited 5.0 seconds.

Is there a way to modify the code somewhere and increase this default 5 seconds timeout?

<!-- gh-comment-id:3069861958 --> @kabeza commented on GitHub (Jul 14, 2025): Thanks @Madhuvod now I could run the app, fill the form, etc. but now I'm getting this (in console) when submitting web form: `ERROR Failed to get MCP tools: Timed out while waiting for response to ClientRequest. Waited 5.0 seconds.` Is there a way to modify the code somewhere and increase this default 5 seconds timeout?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#6409