Start a new AI chat
The pw ai chats new command starts a new chat with an AI model.
If no model is specified, you will be prompted to select one interactively. In non-interactive mode (with --prompt), a model must be specified.
pw ai chats new [model] [flags]
# Interactive chat (select model interactively)
pw ai chats new
# Interactive chat with a specific model
pw ai chats new owner:provider/model-name
# Single prompt (non-interactive, model required)
pw ai chats new -p "What is Go?" owner:provider/model-name
-h, --help help for new
-p, --prompt string Send a single prompt and exit
--save Persist the chat (only for non-interactive mode with --prompt)
--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. Will override any other platform host settings.
-v, --verbose Enable verbose logging