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

# AI功能使用指南

> AI功能的使用技巧和问题解决方案.

## 使用技巧

### AI 模型直接接入

* 把 AI 模型直接接进你的产品,不用自己研究底层
* 无需配置 API 密钥
* 开箱即用

***

## 问题解决

### AI 功能报错排查

AI 功能报错?检查请求头参数与请求体序列化格式是否一致.

**常见问题**:

* headers 参数导致 body 序列化问题
* Content-Type 不匹配
* 资料格式错误

**解决步骤**:

1. 检查 API 请求中的请求头参数
2. 让 AI 排查多余的请求头参数
3. 确保请求头与请求体的序列化格式一致
4. 移除不必要的请求头配置

***

### 确保内容类型匹配

移除多余的请求头参数,确保内容类型匹配.

**检查要点**:

* Content-Type 是否正确
* 请求体格式是否匹配
* 编码方式是否一致

**常见错误**:

* JSON 资料但 Content-Type 是 text/plain
* Form 资料但 Content-Type 是 application/json
* 编码方式不匹配
