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時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日以内に返信
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard Addressオープンbug
難易度 2/5 半日 初心者へのやさしさ 76/100
nextcloud/context_agent#217 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Context Agent can stop claiming tasks while /trigger still returns 200対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン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
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
tharje/spooler-v2#20 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Bump version of azure-servicebus対応中かも @joostlek が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
home-assistant/core#186275 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 72/100