Introduce three optional per-agent config fields to bound tool-call loop execution: `max_iterations` (default 15), `streaming_timeout` (default 120s), and `turn_timeout` (default 300s wall-clock). - Plumb limits from agent config through `_build_agents_table` and `_start_agent` into `MultimodalAgentMCPServer` via `request_limits` - Apply `max_iterations` and `streaming_timeout` to `RequestParams` - Wrap turn dispatch in `asyncio.wait_for` to enforce `turn_timeout`, logging a warning on timeout - Document the new fields in README
30 lines
600 B
TOML
30 lines
600 B
TOML
[project]
|
|
name = "pallas-mcp"
|
|
version = "0.3.0"
|
|
description = "FastAgent MCP Bridge — generic runtime for serving FastAgent agents over StreamableHTTP"
|
|
requires-python = ">=3.13.5"
|
|
dependencies = [
|
|
"fast-agent-mcp>=0.6.10",
|
|
"httpx",
|
|
"prometheus-client",
|
|
"pyyaml",
|
|
"starlette",
|
|
"uvicorn",
|
|
]
|
|
|
|
[project.scripts]
|
|
pallas = "pallas.server:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["pallas"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|