File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
server/src/main/java/org/elasticsearch/inference Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public record UnifiedCompletionRequest(
3737    @ Nullable  Stop  stop ,
3838    @ Nullable  Float  temperature ,
3939    @ Nullable  ToolChoice  toolChoice ,
40-     @ Nullable  List <Tool > tool ,
40+     @ Nullable  List <Tool > tools ,
4141    @ Nullable  Float  topP ,
4242    @ Nullable  String  user 
4343) implements  Writeable  {
@@ -114,7 +114,7 @@ public void writeTo(StreamOutput out) throws IOException {
114114        out .writeOptionalNamedWriteable (stop );
115115        out .writeOptionalFloat (temperature );
116116        out .writeOptionalNamedWriteable (toolChoice );
117-         out .writeOptionalCollection (tool );
117+         out .writeOptionalCollection (tools );
118118        out .writeOptionalFloat (topP );
119119        out .writeOptionalString (user );
120120    }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments