Repository navigation
refactor: update citation verification handling in DeepResearcherAgent #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
923041c
edda062
84d08eb
74152b1
ea07a49
dd3a572
5b16d9b
75c237d
9121ba5
c682e0d
8d473cc
2f61174
3670801
021464a
ef4680b
7975857
62611f7
7325468
c876d8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,12 @@ class DeepResearchAgentState(BaseModel): | |
| rubric: DeepAgents rubric used by RubricMiddleware when available. | ||
| clarifier_result: Log from clarifier agent dialog. | ||
| available_documents: User-uploaded documents with summaries for context. | ||
| citation_verification_status: Set when citation verification was skipped | ||
| because the source registry was empty. ``None`` means the report was | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P1] Do not equate missing status with verified The new contract says Make the verification engine return an explicit closed outcome for every run—at minimum |
||
| verified normally. When populated, contains keys: ``status`` | ||
| (``"unverified"``), ``reason``, ``available_tool_count``, | ||
| ``unavailable_tools``. Downstream consumers can read this to flag | ||
| unverified results. | ||
| """ | ||
|
|
||
| messages: Annotated[list[AnyMessage], add_messages] | ||
|
|
@@ -67,3 +73,4 @@ class DeepResearchAgentState(BaseModel): | |
| rubric: str | None = None | ||
| clarifier_result: str | None = None | ||
| available_documents: list[AvailableDocument] | None = None | ||
| citation_verification_status: dict[str, Any] | None = None | ||
|
AjayThorve marked this conversation as resolved.
Resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.