Skip to content

Commit 9b926ac

Browse files
viniciusdsmellogustavocidornelas
authored andcommitted
refactor: clean up outputs in Google ADK tracing notebook to remove unnecessary warnings and streamline execution
1 parent d19a8f6 commit 9b926ac

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

examples/tracing/google-adk/google_adk_tracing.ipynb

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,7 @@
8181
"cell_type": "code",
8282
"execution_count": null,
8383
"metadata": {},
84-
"outputs": [
85-
{
86-
"name": "stderr",
87-
"output_type": "stream",
88-
"text": [
89-
"/Users/vini/Workspace/Openlayer/integrations-sdks/openlayer-python/.venv/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
90-
" from .autonotebook import tqdm as notebook_tqdm\n"
91-
]
92-
}
93-
],
84+
"outputs": [],
9485
"source": [
9586
"from openlayer.lib.integrations import trace_google_adk\n",
9687
"\n",
@@ -111,17 +102,7 @@
111102
"cell_type": "code",
112103
"execution_count": null,
113104
"metadata": {},
114-
"outputs": [
115-
{
116-
"name": "stdout",
117-
"output_type": "stream",
118-
"text": [
119-
"Successfully streamed data to Openlayer. Response: {\n",
120-
" \"success\": true\n",
121-
"}\n"
122-
]
123-
}
124-
],
105+
"outputs": [],
125106
"source": [
126107
"\n",
127108
"from google.genai import types\n",
@@ -186,24 +167,7 @@
186167
"cell_type": "code",
187168
"execution_count": null,
188169
"metadata": {},
189-
"outputs": [
190-
{
191-
"name": "stderr",
192-
"output_type": "stream",
193-
"text": [
194-
"Warning: there are non-text parts in the response: ['function_call', 'function_call'], returning concatenated text result from text parts. Check the full candidates.content.parts accessor to get the full model response.\n"
195-
]
196-
},
197-
{
198-
"name": "stdout",
199-
"output_type": "stream",
200-
"text": [
201-
"Successfully streamed data to Openlayer. Response: {\n",
202-
" \"success\": true\n",
203-
"}\n"
204-
]
205-
}
206-
],
170+
"outputs": [],
207171
"source": [
208172
"import os\n",
209173
"\n",

0 commit comments

Comments
 (0)