Merge #66 into develop from feature/20251219_xjn

feat(tool system): Tool info add tags variable

* feature/20251219_xjn: (1 commits)
  feat(tool system): Tool info add tags variable

Signed-off-by: 谢俊男 <accounts_6853d0ea6f8174722fb0c8f1@mail.teambition.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/66
This commit is contained in:
朱文辉
2025-12-26 12:28:06 +08:00
5 changed files with 17 additions and 34 deletions

View File

@@ -33,7 +33,7 @@ async def list_apps():
"""列出可访问的应用(占位)"""
return success(data=[], msg="App API - Coming Soon")
# /v1/apps/{resource_id}/chat
# /v1/app/chat
# @router.post("/chat")
# @require_api_key(scopes=["app"])
@@ -49,7 +49,6 @@ async def list_apps():
# scopes: 所需的权限范围列表["app", "rag", "memory"]
# Args:
# resource_id: 如果是应用的apikey传的是应用id; 如果是服务的apikey传的是工作空间id
# message: 请求参数
# request: 声明请求
# api_key_auth: 包含验证后的API Key 信息