llama-stack-mirror/llama_stack/providers/inline/agents/meta_reference
Ashwin Bharambe 61b4238912
feat(api): add extra_body parameter support with shields example (#3670)
## Summary
Introduce `ExtraBodyField` annotation to enable parameters that arrive
via extra_body in client SDKs but are accessible server-side with full
typing.

These parameters are documented in OpenAPI specs under
**`x-llama-stack-extra-body-params`** but excluded from generated SDK
signatures.

Add `shields` parameter to `create_openai_response` as the first
implementation using this pattern.

## Test Plan
- added an integration test which checks that shields parameter passed
via extra_body reaches server implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-03 13:25:09 -07:00
..
responses feat(api): add extra_body parameter support with shields example (#3670) 2025-10-03 13:25:09 -07:00
__init__.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
agent_instance.py feat(tools)!: substantial clean up of "Tool" related datatypes (#3627) 2025-10-02 15:12:03 -07:00
agents.py feat(api): add extra_body parameter support with shields example (#3670) 2025-10-03 13:25:09 -07:00
config.py feat: add list responses API (#2233) 2025-05-23 13:16:48 -07:00
persistence.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
safety.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00