1
0

Integrate Celery task queue for background task processing (#129)

This commit is contained in:
Alexander Whitestone
2026-03-05 12:09:51 -05:00
committed by GitHub
parent b8ff534ad8
commit f2dacf4ee0
15 changed files with 1181 additions and 1 deletions

View File

@@ -476,6 +476,14 @@ def create_full_toolkit(base_dir: str | Path | None = None):
except Exception:
logger.debug("Delegation tools not available")
# Background task submission via Celery
try:
from timmy.tools_celery import submit_background_task
toolkit.register(submit_background_task, name="submit_background_task")
except Exception:
logger.debug("Background task tool not available")
return toolkit
@@ -596,6 +604,11 @@ def get_all_available_tools() -> dict[str, dict]:
"description": "Local AI coding assistant using Ollama (qwen2.5:14b or deepseek-coder)",
"available_in": ["forge", "orchestrator"],
},
"submit_background_task": {
"name": "Background Task",
"description": "Submit a task to the Celery background queue for async processing",
"available_in": ["orchestrator"],
},
}
# ── Git tools ─────────────────────────────────────────────────────────────