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
-`--cloud` Use a Spice Cloud instance for chat. Requires `--api-key`.
33
-
-`--endpoint <endpoint>` Specifies the remote Spice instance endpoint. Supports `http://`, `https://`, `grpc://`, or `grpc+tls://` schemes. For example, `--endpoint http://my-remote-host:8090` (HTTP) or `--endpoint grpc://my-remote-host:50051` (Arrow Flight/gRPC).
-`--model <string>` Target model for the chat request. When omitted, the CLI uses the single ready model or prompts for a choice if several models are ready.
36
-
-`--temperature <float32>` Model temperature used for chat request. Default: `1.0`.
37
-
-`--user-agent <string>` Custom `User-Agent` header sent with every request.
38
-
-`--responses` Direct all chats to the `/v1/responses` endpoint, which exposes configured models that support [OpenAI's Responses API](https://platform.openai.com/docs/api-reference/responses) and enables access to [OpenAI-hosted tools](https://platform.openai.com/docs/guides/tools). To learn more about Spice's support for OpenAI's Responses API, view the [OpenAI model provider documentation](../../components/models/openai) or the [Azure OpenAI model provider documentation](../../components/models/azure).
32
+
-`--model`, `-m` Target model for the chat request. When omitted, the CLI uses the single ready model or prompts for a choice if several models are ready.
33
+
-`--temperature <float>` Model temperature used for chat request.
By default, `spice completions` auto-detects the user's shell and writes the completion script to the standard completion directory for that shell. If the shell cannot be detected, specify it as an argument.
11
+
12
+
### Usage
13
+
14
+
```shell
15
+
spice completions [shell] [flags]
16
+
```
17
+
18
+
`shell` - the shell to generate completions for. Supported values: `bash`, `zsh`, `fish`, `elvish`, `powershell`. If omitted, the shell is detected from the `$SHELL` environment variable.
19
+
20
+
#### Flags
21
+
22
+
-`--stdout` Print completions to stdout instead of writing to a file (useful for piping)
23
+
-`-h`, `--help` Print this help message
24
+
25
+
### Default completion directories
26
+
27
+
When writing to a file, `spice completions` uses the following directories by default:
0 commit comments