Skip to content

Commit b5a65fb

Browse files
XinranTangcopybara-github
authored andcommitted
chore: Remove the too-detailed edge case descriptions for resumability
PiperOrigin-RevId: 811432962
1 parent 839d2e4 commit b5a65fb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/google/adk/apps/app.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ class ResumabilityConfig(BaseModel):
3535
2. resume an invocation from the last event, if it's paused or failed midway
3636
through.
3737
38-
Note: ADK resumes the invocation in a best-effort manner. Edge cases include:
39-
1. The invocation crashed before receiving the response of a tool call, once
40-
resumed, the same tool call will be invoked again.
41-
2. If agent transfer forms a loop (root->sub1->sub2->root[pause]), once
42-
resumed, the agent transfer loop will be ignored.
38+
Note: ADK resumes the invocation in a best-effort manner:
39+
1. Tool call to resume needs to be idempotent because we only guarantee
40+
an at-least-once behavior once resumed.
41+
2. Any temporary / in-memory state will be lost upon resumption.
4342
"""
4443

4544
is_resumable: bool = False

0 commit comments

Comments
 (0)