> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hitheo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# theo complete

> 从终端快速运行一次 AI 补全。

```bash theme={null}
theo complete "<prompt>"
```

将提示词发送给 Theo API 并打印响应结果。

```bash theme={null}
$ 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¢
```

默认使用 `mode: "auto"`。响应下方会显示所选模型、费用和模式。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.