Conversation
…ng for missing "query".
MQ37
left a comment
There was a problem hiding this comment.
CrewAI sucks and update actually broke this - let's not invest time in this (I already tried to fix this for like 8 hours)
|
It's a matter of time when we include this repo in the SOC2 checks and we will need to deal with outdated deps more and more. Let's not just ignore this, if there is a problem on their end, report it or link existing issue here so we know what we are waiting for. |
8774f00 to
684bd90
Compare
684bd90 to
8774f00
Compare
|
Since you are at it - the CI started failing recently because of missing openai token (apparently): https://github.com/apify/actor-templates/actions/runs/23595380717/job/68710641803 |
It should be fixed in this PR: #744 |
MQ37
left a comment
There was a problem hiding this comment.
Good job, really I appreciate the time and effort (I know it must have been painful to fix) 👍
Another attempt:
Downgrade base image from Python 3.14 → 3.13 (Dockerfile)
crewai depends on tiktoken, which has no pre-built wheel for Python 3.14 and requires a
Rust compiler to build from source — causing the Docker build to fail.
Fix Actor hanging on the platform (main.py)
crew.kickoff() is a blocking synchronous call inside an async context. It blocks the event
loop, preventing the async with Actor: block from exiting and calling Actor.exit(). The
Actor would complete its work but never terminate, eventually timing out. Fixed with await
crew.kickoff_async().
Suppress crewAI's interactive trace prompt (main.py)
On first run in a fresh Docker container, crewAI prompts "Would you like to view your
execution traces?" and waits 20 seconds for stdin input that never comes. There's no
dedicated non-interactive flag — CREWAI_TESTING=true is the only env var that suppresses
it. Must be set before importing crewai since the TraceCollectionListener singleton is
initialized at import time.
Update crewAI from 0.x → 1.x (requirements.txt)
Bumps crewai[tools] from >= 0.11.0, < 1.0.0 to >= 1.12.2, < 2.0.0.
Console run: https://console.apify.com/actors/runs/ScP7JvAupLhnQBTca#log