how can we resume Human-in-loop using API? #6221
Unanswered
shrutivermanaf
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to resume human-in-loop from .NET client using API, but its not giving 400 with unclear error. "status": "FAILED_PRECONDITION"
curl -X POST "https://us-central1-aiplatform.googleapis.com/v1/projects/ai-gcp/locations/us-central1/reasoningEngines/121093008882072:streamQuery?alt=sse"
-H "Authorization: Bearer YOUR_GOOGLE_ACCESS_TOKEN"
-H "Accept: text/event-stream"
-H "Content-Type: application/json"
-d '{
"classMethod":"async_stream_query",
"input":{
"session_id":"292676045260193792",
"message":{
"author":"user",
"content":{
"role":"user",
"parts":[
{
"functionResponse":{
"id":"f84ab8a3-27c7-49ac-b9d1-3364361cfca4", // this my interruptId
"name":"adk_request_input",
"response":{"result":"approve"}
}
}
]
}
}
}
}'
Please advise.
Beta Was this translation helpful? Give feedback.
All reactions