Skip to content

Commit 23ffbc0

Browse files
authored
Update runtime_service.py
1 parent aa91fbc commit 23ffbc0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/ohip_runtime/runtime_service.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)