mirror of https://github.com/ollama/ollama.git
				
				
				
			fix modelfile message quotes
This commit is contained in:
		
							parent
							
								
									4c14855ad7
								
							
						
					
					
						commit
						d87b4a488e
					
				| 
						 | 
				
			
			@ -184,7 +184,7 @@ func (m *Model) String() string {
 | 
			
		|||
	for _, msg := range m.Messages {
 | 
			
		||||
		modelfile.Commands = append(modelfile.Commands, parser.Command{
 | 
			
		||||
			Name: "message",
 | 
			
		||||
			Args: fmt.Sprintf("%s %s", msg.Role, msg.Content),
 | 
			
		||||
			Args: fmt.Sprintf("%s: %s", msg.Role, msg.Content),
 | 
			
		||||
		})
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue