Some checks are pending
CI/CD Pipeline / test (push) Waiting to run
- Updated `chains.py` to streamline imports and improve error handling for LLM initialization. - Modified `models.py` to enhance the `AnalysisFlags` model with field aliases and added datetime import. - Deleted outdated prompt files (`jira_analysis_v1.0.0.txt`, `jira_analysis_v1.1.0.txt`, `jira_analysis_v1.2.0.txt`) to clean up the repository. - Introduced a new prompt file `jira_analysis_v1.2.0.txt` with updated instructions for analysis. - Removed `logging_config.py` and test files to simplify the codebase. - Updated webhook handler to improve error handling and logging. - Added a new shared store for managing processing requests in a thread-safe manner.
10 lines
212 B
Python
10 lines
212 B
Python
from fastapi import APIRouter
|
|
|
|
webhook_router = APIRouter(
|
|
prefix="/webhooks",
|
|
tags=["Webhooks"]
|
|
)
|
|
|
|
@webhook_router.post("/jira")
|
|
async def handle_jira_webhook():
|
|
return {"status": "webhook received"} |