pw code inference-servers add
pw code inference-servers add
Save an inference server configuration locally for this user
pw code inference-servers add [flags] <name>Examples
pw code inference-servers add --url http://localhost:8000/v1 lab
pw code inference-servers add --url https://inference.example/v1 --api-key cluster
pw code inference-servers add --url https://inference.example/v1 --api-key-env LAB_API_KEY --model coder fixedOptions
--api-key Read a token securely from the terminal or stdin and save it in this machine's OS credential store
--api-key-env string Host daemon environment variable holding the bearer token
--api-key-file string Absolute path to a host file holding the bearer token
-h, --help help for add
--model stringArray Use a fixed model list instead of discovery (repeatable)
--url string API base URL, including /v1 when required by the serverOptions inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw code inference-servers - Manage inference server configurations saved locally on this machine