File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ echo "[START code_execution_basic]"
4
4
# [START code_execution_basic]
5
5
curl " https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=$GOOGLE_API_KEY " \
6
6
-H ' Content-Type: application/json' \
7
- -d ' {"tools": [{' code_execution' : {}}],
7
+ -d ' {"tools": [{" code_execution" : {}}],
8
8
"contents": {
9
9
"parts":
10
10
{
@@ -18,7 +18,7 @@ echo "[START code_execution_chat]"
18
18
# [START code_execution_chat]
19
19
curl " https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=$GOOGLE_API_KEY " \
20
20
-H ' Content-Type: application/json' \
21
- -d ' {"tools": [{' code_execution' : {}}],
21
+ -d ' {"tools": [{" code_execution" : {}}],
22
22
"contents": [
23
23
{
24
24
"role": "user",
You can’t perform that action at this time.
0 commit comments