feat: 新增AI智能体编辑功能和群聊搜索
- **AI智能体编辑** - 新增AI智能体编辑页面(`AiPromptEditScreen`),允许创建者修改智能体的头像、名称、描述和公开/私有状态。 - 在AI个人主页为创建者添加入口,可进入编辑页面。 - 新增`updatePrompt`和`getPromptDetail`接口,用于获取和更新智能体信息。 - 完善头像裁剪逻辑,使其同时支持创建和编辑两种模式。 - **群聊搜索** - 在全局搜索中新增“群聊”分类,用户可以搜索公开群聊。 - **优化** - AI个人主页(`AiProfileV3`)数据加载逻辑优化,以正确获取创建者信息。 - 修复了当群聊头像为空时,无法正确显示默认头像的问题。
This commit is contained in:
20
app/src/main/res/drawable/ic_brain_add.xml
Normal file
20
app/src/main/res/drawable/ic_brain_add.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<!-- 脑部轮廓 - 更简洁的设计 -->
|
||||
<path
|
||||
android:pathData="M12,4C9.2,4 7,6.2 7,9C7,10.2 7.4,11.3 8,12.1C7.6,12.7 7.3,13.4 7.3,14.1C7.3,15.7 8.6,17 10.2,17C10.6,17 11,16.9 11.3,16.7C11.7,17.3 12.4,17.7 13.2,17.7C14.5,17.7 15.5,16.7 15.5,15.4C15.5,15 15.4,14.6 15.2,14.3C15.7,14 16,13.4 16,12.8C16,11.8 15.4,11 14.5,10.7C14.7,10.2 14.8,9.6 14.8,9C14.8,6.2 12.6,4 9.8,4H12Z"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="1.8"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#7C45ED"
|
||||
android:fillType="evenOdd"
|
||||
android:strokeLineCap="round"/>
|
||||
<!-- 加号 - 位于右上角 -->
|
||||
<path
|
||||
android:pathData="M17,7h-1.5v1.5h-1.5v1.5h1.5v1.5h1.5v-1.5h1.5v-1.5h-1.5v-1.5z"
|
||||
android:fillColor="#7C45ED"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user