anderson-ufrj
commited on
Commit
·
4e30a0b
1
Parent(s):
4be0d27
chore: add version log to track deployment updates
Browse files- Add version 2.0 and timestamp to startup log
- Helps identify when HuggingFace actually deploys new code
- Shows that MasterAgent import fix is included
app.py
CHANGED
|
@@ -18,9 +18,14 @@ if __name__ == "__main__":
|
|
| 18 |
# Get port from environment (HuggingFace uses 7860)
|
| 19 |
port = int(os.getenv("PORT", 7860))
|
| 20 |
|
| 21 |
-
# Log startup
|
| 22 |
-
print(
|
| 23 |
-
print("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Run the complete API
|
| 26 |
uvicorn.run(
|
|
|
|
| 18 |
# Get port from environment (HuggingFace uses 7860)
|
| 19 |
port = int(os.getenv("PORT", 7860))
|
| 20 |
|
| 21 |
+
# Log startup with version
|
| 22 |
+
print("=" * 60)
|
| 23 |
+
print(f"🚀 Starting Cidadão.AI Full Multi-Agent System v2.0")
|
| 24 |
+
print(f"📅 Deploy timestamp: 2025-09-20 13:29:00 -03")
|
| 25 |
+
print(f"🔧 Fixed: MasterAgent import added")
|
| 26 |
+
print(f"🤖 All agents available: Drummond, Zumbi, Anita, Tiradentes, and more!")
|
| 27 |
+
print(f"🌐 Running on port {port}")
|
| 28 |
+
print("=" * 60)
|
| 29 |
|
| 30 |
# Run the complete API
|
| 31 |
uvicorn.run(
|