feat(llm): 启用AI点评功能并新增AI聊天API接口,自动创建相关数据库表

This commit is contained in:
jieer
2026-05-29 17:16:26 +08:00
parent d60458ad35
commit 88706f5d78
7 changed files with 1033 additions and 80 deletions

View File

@@ -230,8 +230,12 @@ a.label:hover {
href="cppreference.php">
<i class="help icon"></i><?php echo $MSG_CPPREFRENCE?>
</a>
<a class="item <?php if ($url=="docs.php") echo "active";?>"
href="<?php echo $path_fix?>docs.php"><i class="book icon"></i> 文档</a>
<!-- 文档 (暂时隐藏) -->
<!-- <a class="item <?php if ($url=="docs.php") echo "active";?>"
href="<?php echo $path_fix?>docs.php"><i class="book icon"></i> 文档</a> -->
<!-- AI聊天 -->
<a class="item <?php if ($url=="llm-chat.php") echo "active";?>"
href="<?php echo $path_fix?>llm-chat.php"><i class="comment icon"></i> AI聊天</a>
<!-- 排名 -->
<a class="desktop-only item <?php if ($url=="ranklist.php") echo "active";?> "
href="<?php echo $path_fix?>ranklist.php"><i class="signal icon"></i> <?php echo $MSG_RANKLIST?></a>