feat: attended PR comments

This commit is contained in:
2026-02-24 22:14:29 +00:00
parent a3ba340224
commit b95bb72b24
4 changed files with 16 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ from google import genai
from google.genai import types as genai_types
from mcp.server.fastmcp import Context, FastMCP
from utils import Settings, _args, log_structured_entry
from utils import Settings, _args, cfg, log_structured_entry
HTTP_TOO_MANY_REQUESTS = 429
HTTP_SERVER_ERROR = 500
@@ -624,8 +624,6 @@ async def lifespan(_server: FastMCP) -> AsyncIterator[AppContext]:
log_structured_entry("MCP server lifespan ending", "INFO")
cfg = Settings.model_validate({})
mcp = FastMCP(
"knowledge-search",
host=_args.host,