Skip to content

feat: start v0.7.5 guardrails#49

Merged
wxai-space merged 1 commit into
mainfrom
codex/develop-v0.7.5-guardrails
Jun 1, 2026
Merged

feat: start v0.7.5 guardrails#49
wxai-space merged 1 commit into
mainfrom
codex/develop-v0.7.5-guardrails

Conversation

@wxai-space

Copy link
Copy Markdown
Collaborator

Summary

  • bump development version to 0.7.5
  • add opt-in input, tool-call, and non-streaming output guardrails
  • expose GuardrailDecision and GuardrailManager
  • add stable LA-GUARDRAIL error code and guardrail_block trace events
  • add guardrails docs, FAQ entry, and focused regression tests

Compatibility

  • guardrails are disabled by default
  • default agent.run() and stream=True behavior remain unchanged unless guardrails are configured
  • output guardrails apply to non-streaming final responses in this initial implementation

Tests

  • /Users/macpro/opt/anaconda3/envs/Langchain-Chatchat/bin/python -m compileall -q LightAgent tests/test_v065_core.py tests/test_v070_tracing.py tests/test_memory_policy.py tests/test_guardrails.py
  • PYTHONPATH=. /Users/macpro/opt/anaconda3/envs/Langchain-Chatchat/bin/python -m pytest -q tests/test_v065_core.py tests/test_v070_tracing.py tests/test_memory_policy.py tests/test_guardrails.py

@wxai-space wxai-space merged commit 2c579c3 into main Jun 1, 2026
3 checks passed
@wxai-space wxai-space deleted the codex/develop-v0.7.5-guardrails branch June 1, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant