Major architectural changes and improvements: ## ADK Framework Migration (v0.10.0) - Migrated from LangChain/LangGraph to Google ADK 1.3.0 with LiteLLM 1.80.5 - Improved tool calling reliability with local Ollama models - Converted all 10 tools to ADK async generator format - Updated streaming pipeline for ADK event system - Enhanced error handling and agent initialization ## Model Optimization - Switched from gemma3:12b (10GB VRAM) to gemma3:4b (4.8GB VRAM) - Reduced VRAM usage from 91% to 43% (5.4GB freed) - Optimized for production stability with memory headroom ## Health Check System Overhaul - Optimized /health/full: 6ms response (was 30s+) - Added model verification: confirms configured model is available - New /health/diagnostics endpoint with optional deep testing - Added currently loaded models tracking - Clear emoji status indicators (✅/❌/⚠️) - Fixed AGENT_AVAILABLE flag export for proper health reporting ## Ollama Client Enhancements - Added list_models() method for model inventory - Enhanced model verification in health checks - Better error handling and reporting ## Documentation Updates - Updated STATUS.md to v0.10.0-adk-migration - Comprehensive CHANGELOG.md entry with migration details - Updated PLANS.md showing Phase 4 complete - Updated ai-orchestrator-plan.md with ADK status - Added MIGRATION_PLAN_LANGCHAIN_TO_ADK.md - Added ADK_Ollama_Research.md with implementation analysis ## Technical Details - 10 tools: 7 infrastructure + 2 research + 1 response tool - Framework: Google ADK with UnifiedAgent pattern - System prompt: v7_adk_best_practice - Container health: Now passing Docker healthchecks - Response times: Simple queries ~0.3-1s, Research ~4-7s
38 lines
952 B
Plaintext
38 lines
952 B
Plaintext
# FastAPI and ASGI server
|
|
fastapi~=0.115.0
|
|
uvicorn[standard]>=0.34.0 # Updated for google-adk compatibility
|
|
pydantic>=2.11.1,<3.0.0 # Required for google-cloud-aiplatform[agent-engines]
|
|
pydantic-settings>=2.10.1
|
|
|
|
# HTTP client
|
|
httpx>=0.28.0 # Required for google-adk
|
|
python-socketio[asyncio_client]~=5.11.0
|
|
|
|
# Web scraping
|
|
beautifulsoup4~=4.12.0
|
|
trafilatura~=1.12.0
|
|
lxml~=5.3.0
|
|
duckduckgo-search~=4.1.0
|
|
|
|
# Utilities
|
|
python-multipart~=0.0.12
|
|
python-dotenv~=1.0.0
|
|
python-json-logger~=2.0.0
|
|
pytz~=2024.1
|
|
|
|
# Authentication & Security
|
|
PyJWT[crypto]~=2.9.0
|
|
python-jose[cryptography]~=3.3.0
|
|
cryptography~=43.0.0
|
|
|
|
# Memory & Embeddings (using Ollama for embeddings - no local models needed)
|
|
qdrant-client~=1.11.0
|
|
|
|
# Agent Framework - Google ADK (November 2025)
|
|
# Using ADK with LiteLLM for Ollama compatibility
|
|
# Pin dependencies to avoid slow resolution
|
|
google-genai==1.17.0
|
|
google-cloud-aiplatform[agent-engines]==1.95.1
|
|
google-adk==1.3.0
|
|
litellm==1.80.5
|