Include the OCS API errors in the error logs printed and reported to nextcloud
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
Read the failure handling around the LLM task schedule call in ex_app/lib/main.py and the example in ex_app/lib/ocp_translator.py; the issue points to NextcloudException.response.text as the response text source. Check open pull request #255 before starting, since work is already underway. Done means OCS API response errors are included in the relevant error logs reported to Nextcloud.
由索引模型根据 Issue 内容生成。
描述
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
This affects only when ocs requests are made to the home Nextcloud instance and a NextcloudException is thrown. The response text can be fetched with e.response.text from the exception e, see: https://github.com/cloud-py-api/nc_py_api/blob/37f8cf7e11758fb18652610c1c72e5b5005c7d73/nc_py_api/_exceptions.py#L12
One place this could be implemented is where a LLM task schedule call fails with say 412 and we'd want to know the error message returned in there: https://github.com/nextcloud/context_agent/blob/33d170f71ac7884286c17761a13f4275975138c9/ex_app/lib/main.py#L268
Example usage in an ex-app: https://github.com/nextcloud/live_transcription/blob/d8b3f31085cf6543ebddb6a4a5b4396fd5b0eb2a/ex_app/lib/ocp_translator.py#L148
- 主要语言
- Python
- 星标
- 26
- 派生
- 18
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 5
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/context_agent 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
nextcloud/context_agent#242 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
nextcloud/context_agent#240 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 半天 新手友好度 76/100
nextcloud/context_agent#217 · 3 条评论 ·
维护者通常 1 天内回复
-
Context Agent can stop claiming tasks while /trigger still returns 200可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 4/5 3-5 天 新手友好度 57/100
nextcloud/context_agent#266 ·
维护者通常 1 天内回复
-
Multi-stage image on python:3.13-slim-trixie, frpc 0.71.0可能已有人在做 @WSHAPER 于 1 天前认领。 未关闭priority high
难度 4/5 3-5 天 新手友好度 25/100
nextcloud/context_agent#261 ·
维护者通常 1 天内回复
查看 nextcloud/context_agent 的全部 Issue
相似的 Issue
-
[Bug]: LangGraph Store sync put bypasses namespace validation可能已有人在做 @ktz03 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
volcengine/OpenViking#6050 ·
维护者通常 1 天内回复
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunk可能已有人在做 @rodricksz4h5 今天认领。 未关闭area/streaming comp/gateway P2 type/security
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#138245 ·
维护者通常 1 天内回复
-
[oblt-aw][autodoc] Update user onboarding guide for mandatory trigger CODEOWNERS step可能已有人在做 @github-actions 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
correction metadata
难度 2/5 1 小时以内 新手友好度 68/100
acl-org/acl-anthology#10378 · 1 条评论 ·
维护者通常 1 天内回复
-
cloudtrail_multi_region_enabled_logging_management_events fails when the advanced event selector has a custom name可能已有人在做 @12YYCCYY16 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
prowler-cloud/prowler#13033 ·
维护者通常 1 天内回复