mirror of
				https://github.com/infiniflow/ragflow.git
				synced 2025-10-31 09:50:00 +00:00 
			
		
		
		
	Fix: Hunyuan model adding error. (#6531)
### What problem does this PR solve? #6523 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
		
							parent
							
								
									c8c91fd827
								
							
						
					
					
						commit
						163e71d06f
					
				| @ -139,7 +139,7 @@ def add_llm(): | |||||||
|     req = request.json |     req = request.json | ||||||
|     factory = req["llm_factory"] |     factory = req["llm_factory"] | ||||||
|     api_key = req.get("api_key", "x") |     api_key = req.get("api_key", "x") | ||||||
|     llm_name = req["llm_name"] |     llm_name = req.get("llm_name") | ||||||
| 
 | 
 | ||||||
|     def apikey_json(keys): |     def apikey_json(keys): | ||||||
|         nonlocal req |         nonlocal req | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Kevin Hu
						Kevin Hu