Skip to content

Promptise Foundry 1.7.0

Choose a tag to compare

@cryxnet cryxnet released this 23 Oct 02:03
· 36 commits to main since this release

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 promptise

Added

  • promptise.testing: ScriptedModel, ToolCall and Malformed to 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_tools and model objects for ProcessConfig / AgentProcess, graceful stop with drain_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 Authorization values; tool timeouts report an unknown outcome; budget-refused calls are journaled; unknown tools and invalid tool arguments get an actionable error.
  • Reasoning engine: PromptNode settings, text outputs, reasoning nodes without a schema, skip_to / retry_with, hooks, RetryNode, merge strategies, HumanNode no longer approves without a handler, node budgets and graph_blocks.
  • MCP and prompting: OpenAPI tool schemas, Pydantic results, APIKeyAuth headers, non-blocking webhooks, the shell executor allowlist, .superagent optimize_tools and cache sections.

Changed

  • Behaviour changes are listed under Changed in the changelog (for example HumanNode without 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.txt files.