This commit is contained in:
		
							parent
							
								
									f4b35f4596
								
							
						
					
					
						commit
						d52a8064db
					
				| @ -282,6 +282,9 @@ func (s *LLMService) handleStreamingResponse(req *http.Request, data map[string] | ||||
| 						if utf8.RuneCountInString(initialSessage) > 10 { | ||||
| 							new_message = initialSessage | ||||
| 							initialSessage = "" | ||||
| 						} else if utf8.RuneCountInString(initialSessage) <= 10 && strings.HasSuffix(initialSessage, "。") { | ||||
| 							new_message = initialSessage | ||||
| 							initialSessage = "" | ||||
| 						} else { | ||||
| 							continue | ||||
| 						} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Song367
						Song367