Skip to main content

teale chat

Send a chat message to the running node.

Synopsis​

teale chat <prompt> [options]

Description​

Sends a single chat message to the node and prints the response. The response is streamed to stdout as it is generated.

Arguments​

ArgumentRequiredDescription
<prompt>YesThe message to send

Options​

OptionTypeDefaultDescription
--portinteger11435HTTP port of the Teale node
--api-keystringAPI key for authentication
--modelstringcurrentModel to use for this request

Examples​

Send a simple message​

teale chat "What is the capital of France?"

Use a specific model​

teale chat "Explain quantum computing" --model qwen3-4b-q4

Connect to a node on a custom port with an API key​

teale chat "Hello" --port 9000 --api-key sk-teale-abc123