mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	refac: tool specs
This commit is contained in:
		
							parent
							
								
									2d795cffe0
								
							
						
					
					
						commit
						03bb4bcda6
					
				@ -67,6 +67,7 @@ def get_tools_specs(tools) -> List[dict]:
 | 
			
		||||
                            function
 | 
			
		||||
                        ).parameters.items()
 | 
			
		||||
                        if param.default is param.empty
 | 
			
		||||
                        and not (name.startswith("__") and name.endswith("__"))
 | 
			
		||||
                    ],
 | 
			
		||||
                },
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user