Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a4b914b

Browse filesBrowse files
seanzhougooglecopybara-github
authored andcommitted
fix: Set the default response modality to AUDIO only
Currently Live API only allow one response modality although the config is defined as a list. Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com> PiperOrigin-RevId: 853107710
1 parent 19de45b commit a4b914b
Copy full SHA for a4b914b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/google/adk/cli/adk_web_server.py‎

Copy file name to clipboardExpand all lines: src/google/adk/cli/adk_web_server.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ async def run_agent_live(
16241624
user_id: str,
16251625
session_id: str,
16261626
modalities: List[Literal["TEXT", "AUDIO"]] = Query(
1627-
default=["TEXT", "AUDIO"]
1627+
default=["AUDIO"]
16281628
), # Only allows "TEXT" or "AUDIO"
16291629
) -> None:
16301630
await websocket.accept()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.