Skip to content

Commit 290238b

Browse files
authored
fix: upgraded to 1.2.1, and added a troubleshooting tip (#392)
fix: upgraded to 1.2.1, and added a troubleshooting tip
1 parent 684a9ee commit 290238b

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

docs/streaming/custom-streaming-ws.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ In order to use voice/video streaming in ADK, you will need to use Gemini models
1111
- [Google AI Studio: Gemini Live API](https://ai.google.dev/gemini-api/docs/models#live-api)
1212
- [Vertex AI: Gemini Live API](https://cloud.google.com/vertex-ai/generative-ai/docs/live-api)
1313

14+
There is also a [SSE](custom-streaming.md) version of the sample is available.
15+
1416
## 1. Install ADK {#1.-setup-installation}
1517

1618
Create & Activate Virtual Environment (Recommended):
@@ -27,7 +29,7 @@ python -m venv .venv
2729
Install ADK:
2830

2931
```bash
30-
pip install google-adk==1.0.0
32+
pip install --upgrade google-adk==1.2.1
3133
```
3234

3335
Set `SSL_CERT_FILE` variable with the following command.

docs/streaming/custom-streaming.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ This article overviews the server and client code for a custom asynchronous web
1616
- Automatic reconnection and error handling
1717
- Base64 encoding for audio data transmission
1818

19+
There is also a [WebSocket](custom-streaming-ws.md) version of the sample is available.
20+
1921
## 1. Install ADK {#1.-setup-installation}
2022

2123
Create & Activate Virtual Environment (Recommended):
@@ -32,7 +34,7 @@ python -m venv .venv
3234
Install ADK:
3335

3436
```bash
35-
pip install google-adk==1.0.0
37+
pip install --upgrade google-adk==1.2.1
3638
```
3739

3840
Set `SSL_CERT_FILE` variable with the following command.
@@ -153,6 +155,7 @@ These console logs are important in case you develop your own streaming applicat
153155

154156
6\. **Troubleshooting tips**
155157

158+
- **When your browser can't connect to the server via SSH proxy:** SSH proxy used in various cloud services may not work with SSE. Please try without SSH proxy, such as using a local laptop, or try the [WebSocket](custom-streaming-ws.md) version.
156159
- **When `gemini-2.0-flash-exp` model doesn't work:** If you see any errors on the app server console with regard to `gemini-2.0-flash-exp` model availability, try replacing it with `gemini-2.0-flash-live-001` on `app/google_search_agent/agent.py` at line 6.
157160

158161
## 4. Agent definition
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-adk==1.2.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google-adk==1.2.1

0 commit comments

Comments
 (0)