fix(shared): delete unused agentAwareness phase predicates (#4134)
This commit is contained in:
1 parent
398140a9bd
commit
e8ff6bc7f8
1 file changed
-8
@@ -50,14 +50,6 @@ export function buildAgentAwarenessDeepLink(input: {
|
||||
return `/threads/${encodeURIComponent(input.environmentId)}/${encodeURIComponent(input.threadId)}`;
|
||||
}
|
||||
|
||||
export function isTerminalAgentAwarenessPhase(phase: AgentAwarenessPhase): boolean {
|
||||
return phase === "completed" || phase === "failed";
|
||||
}
|
||||
|
||||
export function isInterruptiveAgentAwarenessPhase(phase: AgentAwarenessPhase): boolean {
|
||||
return phase === "waiting_for_approval" || phase === "waiting_for_input" || phase === "failed";
|
||||
}
|
||||
|
||||
export function projectThreadAwareness(
|
||||
input: ProjectThreadAwarenessInput,
|
||||
): AgentAwarenessState | null {
|
||||
|
||||
Reference in new issue
Block a user