google / google/adk-docs

Fast API server: Update session behaviour incorrect as per documentation

Open
#635 2 comments 0 reactions 1 assignee Assigned to @polong-lin View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
1.3k
Avg merge
7d 1h
Merged PRs (30d)
34

Description

**Describe the bug**
Fast API server returns an error when a session with the ID exists instead of updating its state

**To Reproduce**
Steps to reproduce the behavior:
1. Call the /apps/{app_name}/users/{user_id}/sessions/{session_id} for an existing session_id
2. You'll get "Session already exists: "

**Expected behavior**
If the session with that ID exists, its state must be updated.

**Documentation:**
Image

**Actual code:**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.