llama-stack/llama_stack/providers/inline
Xi Yan d0a25dd453
[bugfix] fix llama guard parsing ContentDelta (#772)
# What does this PR do?

Fix this error
<img width="1183" alt="image"
src="https://github.com/user-attachments/assets/a4d48832-a9b9-4fc9-b8b6-79326a13c03e"
/>



## Test Plan

```
LLAMA_STACK_BASE_URL="http://localhost:5000" pytest -v tests/client-sdk/inference/test_inference.py
```

## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-15 11:20:23 -08:00
..
agents Update spec 2025-01-13 23:16:53 -08:00
datasetio Add persistence for localfs datasets (#557) 2025-01-09 17:34:18 -08:00
eval move DataSchemaValidatorMixin into standalone utils (#720) 2025-01-06 13:25:09 -08:00
inference Convert SamplingParams.strategy to a union (#767) 2025-01-15 05:38:51 -08:00
ios/inference impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00
memory [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
post_training Free up memory after post training finishes (#770) 2025-01-14 19:19:38 -08:00
safety [bugfix] fix llama guard parsing ContentDelta (#772) 2025-01-15 11:20:23 -08:00
scoring Add X-LlamaStack-Client-Version, rename ProviderData -> Provider-Data (#735) 2025-01-09 11:51:36 -08:00
telemetry Fix telemetry to work on reinstantiating new lib cli (#761) 2025-01-14 11:31:50 -08:00
tool_runtime agents to use tools api (#673) 2025-01-08 19:01:00 -08:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00