Some checks are pending
CI/CD Pipeline / test (push) Waiting to run
- Simplified the FastAPI application structure and improved error handling with middleware. - Introduced a retry decorator for asynchronous functions to enhance reliability. - Modularized the LLM initialization and prompt loading into separate functions for better maintainability. - Updated Pydantic models for Jira webhook payload and analysis flags to ensure proper validation and structure. - Implemented a structured logging configuration for better traceability and debugging. - Added comprehensive unit tests for prompt loading, response validation, and webhook handling. - Established a CI/CD pipeline with GitHub Actions for automated testing and coverage reporting. - Enhanced the prompt template for LLM analysis to include specific instructions for handling escalations.
18 lines
435 B
Plaintext
18 lines
435 B
Plaintext
fastapi==0.111.0
|
|
pydantic==2.9.0 # Changed from 2.7.4 to meet ollama's requirement
|
|
pydantic-settings==2.0.0
|
|
langchain==0.3.26
|
|
langchain-ollama==0.3.3
|
|
langchain-openai==0.3.27
|
|
langchain-core==0.3.68
|
|
langfuse==3.1.3
|
|
uvicorn==0.30.1
|
|
python-multipart==0.0.9 # Good to include for FastAPI forms
|
|
loguru==0.7.3
|
|
# Testing dependencies
|
|
unittest2>=1.1.0
|
|
# Testing dependencies
|
|
pytest==8.2.0
|
|
pytest-asyncio==0.23.5
|
|
pytest-cov==4.1.0
|
|
httpx==0.27.0 |