[PR #1081] [MERGED] Use error description in invalid extraction error #1065

Closed
opened 2026-02-16 00:20:01 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/1081
Author: @adrianlyjak
Created: 1/18/2026
Status: Merged
Merged: 1/18/2026
Merged by: @adrianlyjak

Base: mainHead: claude/refactor-invalid-extraction-error-j6fJs


📝 Commits (2)

  • 3b1e2b4 fix: display extraction job error in InvalidExtractionData exception
  • 49fbad6 Create three-yaks-beg.md

📊 Changes

3 files changed (+74 additions, -4 deletions)

View changed files

.changeset/three-yaks-beg.md (+5 -0)
📝 py/llama_cloud_services/beta/agent_data/schema.py (+27 -4)
📝 py/unit_tests/beta/agent/test_agent_data_schema.py (+42 -0)

📄 Description

Refactored InvalidExtractionData to read the error field from ExtractRun and prominently display it in the exception message. The job-level error is now stored in the extraction_error attribute and included in the invalid_item's metadata as job_error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/1081 **Author:** [@adrianlyjak](https://github.com/adrianlyjak) **Created:** 1/18/2026 **Status:** ✅ Merged **Merged:** 1/18/2026 **Merged by:** [@adrianlyjak](https://github.com/adrianlyjak) **Base:** `main` ← **Head:** `claude/refactor-invalid-extraction-error-j6fJs` --- ### 📝 Commits (2) - [`3b1e2b4`](https://github.com/run-llama/llama_cloud_services/commit/3b1e2b4524f8a026c28941504e98b848ac8069aa) fix: display extraction job error in InvalidExtractionData exception - [`49fbad6`](https://github.com/run-llama/llama_cloud_services/commit/49fbad6fe420ea41a0f7d2530cfaea6ca48a1c56) Create three-yaks-beg.md ### 📊 Changes **3 files changed** (+74 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/three-yaks-beg.md` (+5 -0) 📝 `py/llama_cloud_services/beta/agent_data/schema.py` (+27 -4) 📝 `py/unit_tests/beta/agent/test_agent_data_schema.py` (+42 -0) </details> ### 📄 Description Refactored InvalidExtractionData to read the `error` field from ExtractRun and prominently display it in the exception message. The job-level error is now stored in the `extraction_error` attribute and included in the invalid_item's metadata as `job_error`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:20:01 -05:00
yindo closed this issue 2026-02-16 00:20:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#1065