Include the OCS API errors in the error logs printed and reported to nextcloud
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- backend-api-design
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 26
- Forks
- 18
- Merge medio
- 2 d 1 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/context_agent
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nextcloud/context_agent#242 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nextcloud/context_agent#240 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard AddressAbiertobug
Dificultad 2/5 Medio día Aptitud para principiantes 76/100
nextcloud/context_agent#217 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
flaky integration testsAbiertobug priority normal
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
nextcloud/context_agent#269 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
nextcloud/context_agent#268 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/context_agent
Issues similares
-
customer-reported question
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Azure/azure-sdk-for-python#49548 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
btclib-org/btclib-wallet#409 ·
Los mantenedores suelen responder en 1 día
-
Phase 2 PSA Capability & Career Profile
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bcgov/digital-journeys#2310 ·
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fastmachinelearning/hls4ml#1582 ·
Los mantenedores suelen responder en 3 días
-
Sort modelsAbiertoenhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día