WrenAI
WrenAI copied to clipboard
Failed to ask a question, if import a sample dataset before start the AI service
Describe the bug If a sample dataset is imported before the AI service has finished starting up, the AI service may respond with an error when asked a question.
To Reproduce Steps to reproduce the behavior:
- install from wren-launcher-darwin binary v0.2.0
- selecting a sample dataset as soon as the WrenAI UI opens. (usually AI service has not finished starting up)
- ask question from WrenAI UI
- See error "Failed to create asking task"
Screenshots
Desktop (please complete the following information):
- OS: MacOS 14.4.1
- Docker: v4.29.0
- Browser: Chrome
WrenAI Information
- Version: 0.2.0
@ReddHung thanks for reporting.
We'll see if we can add some kind of mechanism that wait for AI service & engine to start before we serve user requests.
cc @onlyjackfrost
fix in PR #220