File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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 \
14371437      { 
14381438        "type":"function", 
14391439        "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. ", 
14421442          "parameters":{ 
14431443            "type":"object", 
14441444            "properties":{ 
1445-               "location ":{ 
1445+               "code ":{ 
14461446                "type":"string", 
1447-                 "description":"The city and state, e.g. San Francisco, CA " 
1447+                 "description":"The code to run in the ipython interpreter. " 
14481448              } 
14491449            }, 
1450-             "required":["location "] 
1450+             "required":["code "] 
14511451          } 
14521452        } 
14531453      } 
14541454    ], 
14551455    "messages": [ 
14561456      { 
14571457        "role": "user", 
1458-         "content": "What is the weather like in Istanbul? ." 
1458+         "content": "Print a hello world message with python ." 
14591459      } 
14601460    ] 
14611461  }'  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments