Skip to main content
theo complete "<prompt>"
Sends a prompt to the Theo API and prints the response.
$ theo complete "Write a regex to validate email addresses"

^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

---
Model: Theo Flash | Mode: code | Cost: 0.03¢
Uses mode: "auto" by default. The model selection, cost, and mode are displayed below the response.