fix: files manually
Some checks failed
quality-gates / verify (push) Failing after 7s

This commit is contained in:
2026-09-01 17:21:58 +01:00
parent 56c9eaa459
commit d8a4b6b3c1
36 changed files with 656 additions and 216 deletions

View File

@@ -0,0 +1,25 @@
from __future__ import annotations
from typing import Any, TypedDict
from kab_ingestion.models import Document, IngestionRequest, IngestionResult, SourceDocument
class IngestionState(TypedDict, total=False):
# Base agent state contract fields
messages: list[dict[str, Any]]
errors: list[dict[str, Any]]
has_errors: bool
workflow_id: str | None
current_step: str
next_step: str | None
started_at: str | None
updated_at: str | None
final_output: dict[str, Any] | None
# Ingestion phase extension fields
request: IngestionRequest
tenant_id: str
existing_resources: dict[str, Any]
validation_errors: list[str]
fetched_documents: list[Document | SourceDocument]
published_results: list[IngestionResult]