Repository navigation
Promptise Foundry 1.7.0
Fixes, testing utilities and a full documentation pass. Read the Changed section of the changelog before upgrading: a few defaults now fail closed.
pip install -U promptiseAdded
promptise.testing:ScriptedModel,ToolCallandMalformedto test agents and runtime processes without a model provider.- MCP 2026-07-28: elicitation over input rounds on the server,
MCPClient(protocol="auto")on the client, and the new request headers in the default CORS settings. - Runtime:
extra_toolsand model objects forProcessConfig/AgentProcess, graceful stop withdrain_timeout(API, CLI and SIGTERM), trusted triggers and the Telegram webhook scheme. SandboxConfig(docker_network=...),InjectionDetector(paragraphs=True),@tool(read_only=..., idempotent=...), MCP tool versions and transforms,promptise.__version__.
Fixed
- Redaction of every GitHub token format and whole
Authorizationvalues; tool timeouts report an unknown outcome; budget-refused calls are journaled; unknown tools and invalid tool arguments get an actionable error. - Reasoning engine:
PromptNodesettings, text outputs, reasoning nodes without a schema,skip_to/retry_with, hooks,RetryNode, merge strategies,HumanNodeno longer approves without a handler, node budgets andgraph_blocks. - MCP and prompting: OpenAPI tool schemas, Pydantic results,
APIKeyAuthheaders, non-blocking webhooks, the shell executor allowlist,.superagentoptimize_toolsandcachesections.
Changed
- Behaviour changes are listed under Changed in the changelog (for example
HumanNodewithout a handler now fails, restricted sandbox networking blocks link-local addresses, and stop routes drain by default).
Docs
- Every example checked against the code, a public API index, an environment variable reference, a reorganised navigation and generated
llms.txtfiles.