Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	apply https://github.com/huggingface/responses.js/commit/5db4ec27fe2e9ec3731629ab8237a533ef5deb48
Browse files- src/schemas.ts +6 -4
 
    	
        src/schemas.ts
    CHANGED
    
    | 
         @@ -160,10 +160,12 @@ export const createResponseParamsSchema = z.object({ 
     | 
|
| 160 | 
         
             
            	model: z.string(),
         
     | 
| 161 | 
         
             
            	// parallel_tool_calls: z.boolean().default(true), // TODO: how to handle this if chat completion doesn't?
         
     | 
| 162 | 
         
             
            	// previous_response_id: z.string().nullable().default(null),
         
     | 
| 163 | 
         
            -
            	reasoning: z 
     | 
| 164 | 
         
            -
            		 
     | 
| 165 | 
         
            -
             
     | 
| 166 | 
         
            -
             
     | 
| 
         | 
|
| 
         | 
|
| 167 | 
         
             
            	// store: z.boolean().default(true),
         
     | 
| 168 | 
         
             
            	stream: z.boolean().default(false),
         
     | 
| 169 | 
         
             
            	temperature: z.number().min(0).max(2).default(1),
         
     | 
| 
         | 
|
| 160 | 
         
             
            	model: z.string(),
         
     | 
| 161 | 
         
             
            	// parallel_tool_calls: z.boolean().default(true), // TODO: how to handle this if chat completion doesn't?
         
     | 
| 162 | 
         
             
            	// previous_response_id: z.string().nullable().default(null),
         
     | 
| 163 | 
         
            +
            	reasoning: z
         
     | 
| 164 | 
         
            +
            		.object({
         
     | 
| 165 | 
         
            +
            			effort: z.enum(["low", "medium", "high"]).default("medium"),
         
     | 
| 166 | 
         
            +
            			summary: z.enum(["auto", "concise", "detailed"]).nullable().default(null),
         
     | 
| 167 | 
         
            +
            		})
         
     | 
| 168 | 
         
            +
            		.optional(),
         
     | 
| 169 | 
         
             
            	// store: z.boolean().default(true),
         
     | 
| 170 | 
         
             
            	stream: z.boolean().default(false),
         
     | 
| 171 | 
         
             
            	temperature: z.number().min(0).max(2).default(1),
         
     |