Merge pull request #1580 from pikasTech/fix/1555-read-side-helper-export
修复 AgentRun 读侧刷新 guard 导出
This commit is contained in:
@@ -496,7 +496,7 @@ function agentRunCommandResultSyncRequired(mapped = {}, eventsResponse = null) {
|
|||||||
return Boolean(agentRunTerminalStatusFromEvents(eventsResponse?.events));
|
return Boolean(agentRunTerminalStatusFromEvents(eventsResponse?.events));
|
||||||
}
|
}
|
||||||
|
|
||||||
function agentRunTerminalResultRefreshSatisfied(mapped = {}, traceId = null) {
|
export function agentRunTerminalResultRefreshSatisfied(mapped = {}, traceId = null) {
|
||||||
const safeId = safeTraceId(traceId ?? mapped?.traceId);
|
const safeId = safeTraceId(traceId ?? mapped?.traceId);
|
||||||
const agentRun = mapped?.agentRun && typeof mapped.agentRun === "object" ? mapped.agentRun : null;
|
const agentRun = mapped?.agentRun && typeof mapped.agentRun === "object" ? mapped.agentRun : null;
|
||||||
const traceSummary = mapped?.traceSummary && typeof mapped.traceSummary === "object" ? mapped.traceSummary : null;
|
const traceSummary = mapped?.traceSummary && typeof mapped.traceSummary === "object" ? mapped.traceSummary : null;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import {
|
|||||||
cancelAgentRunChatTurn,
|
cancelAgentRunChatTurn,
|
||||||
codeAgentAgentRunAdapterEnabled,
|
codeAgentAgentRunAdapterEnabled,
|
||||||
initialAgentRunChatResult,
|
initialAgentRunChatResult,
|
||||||
|
agentRunTerminalResultRefreshSatisfied,
|
||||||
loadPersistedAgentRunResult,
|
loadPersistedAgentRunResult,
|
||||||
steerAgentRunChatTurn,
|
steerAgentRunChatTurn,
|
||||||
submitAgentRunChatTurn,
|
submitAgentRunChatTurn,
|
||||||
|
|||||||
Reference in New Issue
Block a user