Open haluwong opened 1 week ago
Hey @haluwong
Thanks for trying out the application! This is a known issue with v0.70.2
and its fixed through #415. We'll make a release soon with this fix. Make sure you re-export the prompt studio project as a tool with v0.70.3
and above
For errors related to workflow execution, you can refer the logs from unstract-backend
and unstract-worker
services usually.
docker compose logs backend
docker compose logs worker
In order to debug an individual tool which was run in a workflow better, try setting REMOVE_CONTAINER_ON_EXIT=False and re-run unstract-worker
.
Hi @haluwong ,
You can proceed with you testing by clicking "Run Workflow" button as shown in screenshot.
Pls do an upgrade by just running ./run-platform.sh --upgrade
before trying the workflow.Thanks!
Thanks for the reply. I downloaded the latest branch and try to add [REMOVE_CONTAINER_ON_EXIT=False in unstract-worker.
Attached with the docker log for unstract-tool-structure-xxxxx seems missing some modules which cause the docker exited
_unstract-tool-structure-ff8fadd3-e622-47ef-b994-d4abd9e83480_logs.txt
Yes @haluwong, this was this issue with unstract/tool-structure
.
If you're still seeing this import error it could be because in your backend/.env
we've still configured to use this erroneous version
# Structure Tool
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.25"
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
STRUCTURE_TOOL_IMAGE_TAG="0.0.25"
Please update this env to the below config and re-export the prompt studio project
# Structure Tool
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.26"
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
STRUCTURE_TOOL_IMAGE_TAG="0.0.26"
version: v0.70.2
Created project in prompt studio and working fine, exported as tool successfully Then, try to create a simple workflow input (API), added the exported tools and output (API)
Try to "Start step execution" then it show the following error:
Run Workflow show the following error:
Where can I check the log?