Say when a research run found no new sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -365,6 +365,8 @@ export interface RunSummary {
|
|||||||
safe_error_code: string | null
|
safe_error_code: string | null
|
||||||
budget_spent: number | null
|
budget_spent: number | null
|
||||||
has_readiness_issues: boolean
|
has_readiness_issues: boolean
|
||||||
|
/** Research runs: what came of the sources found, e.g. no_new_sources when nothing was kept. */
|
||||||
|
source_outcome?: string | null
|
||||||
created_at: string
|
created_at: string
|
||||||
finished_at: string | null
|
finished_at: string | null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ const en = {
|
|||||||
'sch.blockedNone': 'All material is ready now. Try again.',
|
'sch.blockedNone': 'All material is ready now. Try again.',
|
||||||
'sch.fixInStudio': 'Open in Learning Studio',
|
'sch.fixInStudio': 'Open in Learning Studio',
|
||||||
'issue.document_processing': 'still processing',
|
'issue.document_processing': 'still processing',
|
||||||
|
'sch.noNewSources': 'No new sources found. A more specific topic may help.',
|
||||||
'issue.document_failed': 'failed to process; reprocess or delete it',
|
'issue.document_failed': 'failed to process; reprocess or delete it',
|
||||||
'issue.graph_building': 'knowledge graph still building',
|
'issue.graph_building': 'knowledge graph still building',
|
||||||
'issue.graph_not_ready': 'knowledge graph not prepared yet',
|
'issue.graph_not_ready': 'knowledge graph not prepared yet',
|
||||||
@@ -759,6 +760,7 @@ const id: Record<Key, string> = {
|
|||||||
'issue.graph_building': 'knowledge graph masih dibangun',
|
'issue.graph_building': 'knowledge graph masih dibangun',
|
||||||
'issue.graph_not_ready': 'knowledge graph belum disiapkan',
|
'issue.graph_not_ready': 'knowledge graph belum disiapkan',
|
||||||
'issue.legacy_set_needs_conversion': 'set Compose lama; perlu dikonversi',
|
'issue.legacy_set_needs_conversion': 'set Compose lama; perlu dikonversi',
|
||||||
|
'sch.noNewSources': 'Tidak ada source baru yang ditemukan. Topik yang lebih spesifik bisa membantu.',
|
||||||
'issue.no_knowledge_sources': 'set Compose tidak punya sumber',
|
'issue.no_knowledge_sources': 'set Compose tidak punya sumber',
|
||||||
'issue.source_not_accessible': 'set Compose memakai dokumen yang tidak bisa kamu akses',
|
'issue.source_not_accessible': 'set Compose memakai dokumen yang tidak bisa kamu akses',
|
||||||
'issue.source_graph_not_ready': 'salah satu dokumen sumber belum siap',
|
'issue.source_graph_not_ready': 'salah satu dokumen sumber belum siap',
|
||||||
|
|||||||
@@ -233,6 +233,7 @@ function RunHistory({ agentId }: { agentId: number }) {
|
|||||||
<span className={`status ${r.status === 'completed' ? 'ready' : 'draft'}`}><i className="dot"></i>{runStatus(r.status)}</span>
|
<span className={`status ${r.status === 'completed' ? 'ready' : 'draft'}`}><i className="dot"></i>{runStatus(r.status)}</span>
|
||||||
{r.budget_spent != null && <span>{t('common.credits', { n: r.budget_spent })}</span>}
|
{r.budget_spent != null && <span>{t('common.credits', { n: r.budget_spent })}</span>}
|
||||||
{r.safe_error_code && <span className="error" title={r.safe_error_code}>{runError(r.safe_error_code)}</span>}
|
{r.safe_error_code && <span className="error" title={r.safe_error_code}>{runError(r.safe_error_code)}</span>}
|
||||||
|
{r.source_outcome === 'no_new_sources' && <span>{t('sch.noNewSources')}</span>}
|
||||||
{r.id === blockedId && <ReadinessIssues agentId={agentId} />}
|
{r.id === blockedId && <ReadinessIssues agentId={agentId} />}
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user