revert: revert human input relevant code (#31766)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
QuantumGhost
2026-01-30 19:18:49 +08:00
committed by GitHub
parent ba568a634d
commit 90fe9abab7
470 changed files with 2082 additions and 32508 deletions

View File

@ -93,7 +93,7 @@ export type MessageContent = {
export type CompletionConversationGeneralDetail = {
id: string
status: 'normal' | 'finished' | 'paused'
status: 'normal' | 'finished'
from_source: 'api' | 'console'
from_end_user_id: string
from_end_user_session_id: string
@ -367,22 +367,3 @@ export type AgentLogDetailResponse = {
iterations: AgentIteration[]
files: AgentLogFile[]
}
export type PauseType = {
type: 'human_input'
form_id: string
backstage_input_url: string
} | {
type: 'breakpoint'
}
export type PauseDetail = {
node_id: string
node_title: string
pause_type: PauseType
}
export type WorkflowPausedDetailsResponse = {
paused_at: string
paused_nodes: PauseDetail[]
}