File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1437,25 +1437,25 @@ curl http://localhost:8080/v1/chat/completions \
1437
1437
{
1438
1438
"type":"function",
1439
1439
"function":{
1440
- "name":"get_current_weather ",
1441
- "description":"Get the current weather in a given location ",
1440
+ "name":"python ",
1441
+ "description":"Runs code in an ipython interpreter and returns the result of the execution after 60 seconds. ",
1442
1442
"parameters":{
1443
1443
"type":"object",
1444
1444
"properties":{
1445
- "location ":{
1445
+ "code ":{
1446
1446
"type":"string",
1447
- "description":"The city and state, e.g. San Francisco, CA "
1447
+ "description":"The code to run in the ipython interpreter. "
1448
1448
}
1449
1449
},
1450
- "required":["location "]
1450
+ "required":["code "]
1451
1451
}
1452
1452
}
1453
1453
}
1454
1454
],
1455
1455
"messages": [
1456
1456
{
1457
1457
"role": "user",
1458
- "content": "What is the weather like in Istanbul? ."
1458
+ "content": "Print a hello world message with python ."
1459
1459
}
1460
1460
]
1461
1461
}'
You can’t perform that action at this time.
0 commit comments