feat(web-search): tool DuckDuckGo abierta en /web-search para watsonx Orchestrate

Sub-app FastAPI montada en /web-search con búsqueda vía ddgs.
OpenAPI 3.0.3 + servers absoluto + operationId webSearch listo para
importar como external tool en wxO. Sin auth (uso de taller/demo).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-28 03:37:55 +00:00
parent f8c7139e6e
commit 385c448c1f
8 changed files with 274 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ from fastapi.staticfiles import StaticFiles
from app import admin, benefits_api, frontend, reports_api
from app.config import get_settings
from app.db import init_db
from app.web_search import web_search_app
settings = get_settings()
@@ -36,6 +37,8 @@ app.mount(
name="reports_output",
)
app.mount("/web-search", web_search_app)
@app.on_event("startup")
def on_startup() -> None: