google / google/adk-python

Request support runtime store session instead only on type exit on adk run

Offen
#5,466 1 Kommentar 0 Reaktionen 2 zugewiesene Personen Beansprucht von @DeanChensj Auf GitHub ansehen
needs review services
Vorherrschende Sprache
Python
Sterne
21.5k
Forks
4k
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
37

Beschreibung

** Please make sure you read the contribution guide and file the issues in the right place. **
[Contribution guide.](https://google.github.io/adk-docs/contributing-guide/)

## 🔴 Required Information
adk run may crash unexcepted, but when re-run it, all context is set to none and create a new seesion. This lead to lots of waste token and efficiency.

I just recommd add a new parameter to support saving current seesion on each llm input and output to avoid this issue.

### Is your feature request related to a specific problem?
No

### Describe the Solution You'd Like
adk run --save-session-on-runtime

### Impact on your work
Due to some

### Willingness to contribute
Are you interested in implementing this feature yourself or submitting a PR?
Yes

---

## 🟡 Recommended Information

### Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or workarounds
you've considered and why they didn't work for you.

### Proposed API / Implementation
If you have ideas on how this should look in code, please share a
pseudo-code example.

### Additional Context
Add any other context or screenshots about the feature request here.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.