Spaces:
				
			
			
	
			
			
					
		Running
		
			on 
			
			CPU Upgrade
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
			on 
			
			CPU Upgrade
	removed logging
Browse files
    	
        app.py
    CHANGED
    
    | @@ -43,9 +43,6 @@ def generate(message, history, system_prompt, temperature, reasoning_effort, ena | |
| 43 | 
             
                        if u: msgs.append({"role": "user", "content": u})
         | 
| 44 | 
             
                        if a: msgs.append({"role": "assistant", "content": a})
         | 
| 45 |  | 
| 46 | 
            -
                logging.info(f"[User] {message}")
         | 
| 47 | 
            -
                logging.info(f"[System] {system_prompt} | Temp={temperature}")
         | 
| 48 | 
            -
             | 
| 49 | 
             
                tools = [{"type": "web_search_preview"}] if enable_browsing else None
         | 
| 50 | 
             
                tool_choice = "auto" if enable_browsing else None
         | 
| 51 |  | 
|  | |
| 43 | 
             
                        if u: msgs.append({"role": "user", "content": u})
         | 
| 44 | 
             
                        if a: msgs.append({"role": "assistant", "content": a})
         | 
| 45 |  | 
|  | |
|  | |
|  | |
| 46 | 
             
                tools = [{"type": "web_search_preview"}] if enable_browsing else None
         | 
| 47 | 
             
                tool_choice = "auto" if enable_browsing else None
         | 
| 48 |  | 

