llama-stack-mirror/docs
Sébastien Han bc64635835
feat: load config class when doing variable substitution
When using bash style substitution env variable in distribution
template, we are processing the string and convert it to the type
associated with the provider's config class. This allows us to return
the proper type. This is crucial for api key since they are not strings
anymore but SecretStr. If the key is unset we will get an empty string
which will result in a Pydantic error like:

```
ERROR    2025-09-25 21:40:44,565 __main__:527 core::server: Error creating app: 1 validation error for AnthropicConfig
         api_key
           Input should be a valid string
             For further information visit
             https://errors.pydantic.dev/2.11/v/string_type
```

Signed-off-by: Sébastien Han <seb@redhat.com>
2025-09-29 09:55:19 +02:00
..
docs feat: load config class when doing variable substitution 2025-09-29 09:55:19 +02:00
notebooks docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
openapi_generator chore(api): remove batch inference (#3261) 2025-09-26 14:35:34 -07:00
resources Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00
src docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
static feat: Add items and title to ToolParameter/ToolParamDefinition (#3003) 2025-09-27 11:35:29 -07:00
zero_to_hero_guide docs: update documentation links (#3459) 2025-09-17 10:37:35 -07:00
docusaurus.config.ts fix: docs deployment URL (#3556) 2025-09-25 15:41:12 -07:00
dog.jpg Support for Llama3.2 models and Swift SDK (#98) 2024-09-25 10:29:58 -07:00
getting_started.ipynb docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
getting_started_llama4.ipynb docs: update documentation links (#3459) 2025-09-17 10:37:35 -07:00
getting_started_llama_api.ipynb docs: update documentation links (#3459) 2025-09-17 10:37:35 -07:00
license_header.txt Initial commit 2024-07-23 08:32:33 -07:00
original_rfc.md chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
package-lock.json docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
package.json docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
quick_start.ipynb docs: update documentation links (#3459) 2025-09-17 10:37:35 -07:00
README.md docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
sidebars.ts docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00
tsconfig.json docs: docusaurus setup (#3541) 2025-09-24 14:11:30 -07:00

Llama Stack Documentation

Here's a collection of comprehensive guides, examples, and resources for building AI applications with Llama Stack. For the complete documentation, visit our Github page.

Render locally

From the llama-stack docs/ directory, run the following commands to render the docs locally:

npm install
npm run gen-api-docs all
npm run build
npm run serve

You can open up the docs in your browser at http://localhost:3000

Content

Try out Llama Stack's capabilities through our detailed Jupyter notebooks: