mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	server: do not remove whitespace at the start of a completion chunk (#7830)
This commit is contained in:
		| @@ -416,7 +416,7 @@ | ||||
|           message = html`<${Probabilities} data=${data} />` | ||||
|         } else { | ||||
|           const text = isArrayMessage ? | ||||
|             data.map(msg => msg.content).join('').replace(/^\s+/, '') : | ||||
|             data.map(msg => msg.content).join('') : | ||||
|             data; | ||||
|           message = isCompletionMode ? | ||||
|             text : | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 mgroeber9110
					mgroeber9110