You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/contributing/new_api_provider.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Integration tests are located in [tests/integration](https://github.com/meta-lla
76
76
Consult [tests/integration/README.md](https://github.com/meta-llama/llama-stack/blob/main/tests/integration/README.md) for more details on how to run the tests.
77
77
78
78
Note that each provider's `sample_run_config()` method (in the configuration class for that provider)
79
-
typically references some environment variables for specifying API keys and the like. You can set these in the environment or pass these via the `--env` flag to the test command.
79
+
typically references some environment variables for specifying API keys and the like. You can set these in the environment before running the test command.
Copy file name to clipboardExpand all lines: docs/docs/distributions/configuration.mdx
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ A few things to note:
101
101
- The id is a string you can choose freely.
102
102
- You can instantiate any number of provider instances of the same type.
103
103
- The configuration dictionary is provider-specific.
104
-
- Notice that configuration can reference environment variables (with default values), which are expanded at runtime. When you run a stack server (via docker or via `llama stack run`), you can specify `--env OLLAMA_URL=http://my-server:11434` to override the default value.
104
+
- Notice that configuration can reference environment variables (with default values), which are expanded at runtime. When you run a stack server, you can set environment variables in your shell before running `llama stack run` to override the default values.
0 commit comments