Merge pull request #31 from Danielpeter-99/main

fix: update import to new path
This commit is contained in:
Davidson Gomes 2025-06-02 18:59:04 -03:00 committed by GitHub
commit 6f1d2745fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -2,12 +2,15 @@ version: "3.8"
services:
api:
image: evoapicloud/evo-ai:latest
# image: evoapicloud/evo-ai:latest Use this image to pull from the repo
image: evoai-api:latest # Use this image for local builds
depends_on:
- postgres
- redis
ports:
- "8000:8000"
env_file:
- .env
environment:
POSTGRES_CONNECTION_STRING: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/evo_ai
REDIS_HOST: redis

View File

@ -31,8 +31,7 @@ import asyncio
async def _discover_async(config_json: Dict[str, Any]) -> List[Dict[str, Any]]:
"""Return a list[dict] with the tool metadata advertised by the MCP server."""
from src.services.mcp_service import MCPService
from src.services.adk.mcp_service import MCPService
service = MCPService()
tools, exit_stack = await service._connect_to_mcp_server(config_json)