feat: add OpenAI markdown format endpoint

This commit is contained in:
Tim
2025-07-14 17:39:52 +08:00
parent 1974b60bdd
commit 02ddbb3fda
6 changed files with 158 additions and 2 deletions

View File

@@ -55,6 +55,8 @@ OpenIsle 基于 Spring Boot 构建,提供社区后台常见的注册、登录
- `CAPTCHA_LOGIN_ENABLED`:登录是否需要验证码
- `CAPTCHA_POST_ENABLED`:发帖是否需要验证码
- `CAPTCHA_COMMENT_ENABLED`:评论是否需要验证码
- `OPENAI_API_KEY`OpenAI 接口密钥
- `OPENAI_MODEL`:调用的模型名称,默认为 `gpt-3.5-turbo`
2. 启动项目:
```bash