File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ def handle_request(
169169 response = execution_response ,
170170 )
171171
172- if (
172+ if execution_response . status != ExecutionResultStatus . ACCEPTED and (
173173 session .interaction_state != prev_interaction
174174 or session .execution_state != prev_execution
175175 ):
@@ -329,8 +329,7 @@ def _apply_execution_response_to_session(
329329 Reflect immediate execution-adapter response into the runtime session.
330330 """
331331 if response .status == ExecutionResultStatus .ACCEPTED :
332- session .execution_state = ExecutionState .READY
333- session .runtime_health = session .runtime_health
332+ pass
334333 elif response .status == ExecutionResultStatus .RUNNING :
335334 session .execution_state = ExecutionState .EXECUTING
336335 elif response .status == ExecutionResultStatus .RETREATING :
You can’t perform that action at this time.
0 commit comments