-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Description
Description
The Docker image unclecode/crawl4ai:latest (and the 0.7.8 tag) reports an outdated version string in the /health endpoint.
Expected Behavior
The health endpoint should report 0.7.8 (matching the actual installed crawl4ai package version).
Actual Behavior
{"status":"ok","timestamp":1766952677.448533,"version":"0.5.1-d1"}Root Cause
In /app/server.py line 76, the version is hardcoded:
__version__ = "0.5.1-d1"This string was not updated when the Docker image was rebuilt with crawl4ai 0.7.8.
Verification
The pip package inside the container is correctly version 0.7.8:
$ pip show crawl4ai
Name: Crawl4AI
Version: 0.7.8
And 0.7.x features like MemoryAdaptiveDispatcher are present and used in the server code. So the actual functionality is 0.7.8 — only the version label is stale.
Suggested Fix
Update line 76 in server.py to read the version from the crawl4ai package:
from crawl4ai import __version__Or dynamically:
import crawl4ai
__version__ = crawl4ai.__version__This would prevent the version string from drifting in future releases.
Environment
- Docker image:
unclecode/crawl4ai:latest(sha256:5ad0b26e6e416...) - Image date: Dec 11, 2025
- Host OS: Unraid (Linux)
Metadata
Metadata
Assignees
Labels
No labels