Repository navigation
Fixes from the full guide review on 1.10.1 and from building the demo system on promptise run: keyless Azure OpenAI, a function as approval-classifier fallback, the input BLOCK warning where it applies, whole lines from promptise audit verify, the TUI's MCP tab for runtime agents, and current model examples.
Changed
- The warning for PII or credential
BLOCKwithoutredact_input=Truenow comes when input has such a finding, once per scanner -- 1.10.1 logged it when the scanner was created, so a scanner used only for output or tool results, whereBLOCKworks, warned for nothing. It now warns the first time a message has a PII or credential finding that is only logged on input.
Fixed
- Azure OpenAI with Entra ID (keyless) failed with "AZURE_OPENAI_API_KEY is not set" -- the keyless setup the docs show,
Model(..., provider="azure", extra={"azure_ad_token_provider": ...}), was refused unless an API key was also set, although the request only uses the token. A token provider or token inextranow counts as the credential. AutoApprovalClassifier(fallback=<function>)failed at the first escalation -- a bare function was accepted when the classifier was built, then the first request that reached the fallback raisedAttributeError: 'function' object has no attribute 'request_approval'. A function (plain or async) is now wrapped asApprovalPolicy(handler=...)wraps one, and anything else is refused with aTypeErrorwhen the classifier is built.promptise audit verifywrapped its output at 80 columns when piped -- a script reading the output gotlast_hash <hash> (seqandN)on separate lines, which broke extracting the hash for--anchor. Lines are no longer broken to fit the width.- The
promptise run --tuiMCP tab was empty for runtime agents -- anAgentProcessconnects its MCP servers itself and hands the agent ready-made tools, so the agent has no MCP client of its own and the tab listed no servers, and each tool showed no server. The servers and each tool's server now come from the MCP clients behind the agent's tools.
Docs
- Model string examples in the docs, the README and
promptise models envuse current models:anthropic:claude-sonnet-5-5andgemini:gemini-3.8-flashinstead of retired or restricted ones. Bedrock, Vertex and OpenRouter examples are unchanged. - The README quickstart runs after a plain
pip install promptise.