Use claude as model for copilot chat
This commit is contained in:
		
							parent
							
								
									4a6324122a
								
							
						
					
					
						commit
						de76eeffc4
					
				| 
						 | 
				
			
			@ -6,12 +6,12 @@ return {
 | 
			
		|||
    provider = 'copilot',
 | 
			
		||||
    copilot = {
 | 
			
		||||
      endpoint = 'https://api.githubcopilot.com',
 | 
			
		||||
      model = 'gpt-4o-2024-08-06',
 | 
			
		||||
      model = 'claude-3.5-sonnet',
 | 
			
		||||
      proxy = nil,
 | 
			
		||||
      allow_insecure = false,
 | 
			
		||||
      timeout = 30000,
 | 
			
		||||
      temperature = 0,
 | 
			
		||||
      max_tokens = 4096,
 | 
			
		||||
      temperature = 0.1,
 | 
			
		||||
      max_tokens = 8192,
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  build = 'make',
 | 
			
		||||
| 
						 | 
				
			
			@ -42,4 +42,7 @@ return {
 | 
			
		|||
      ft = { 'markdown', 'Avante' },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  keys = {
 | 
			
		||||
    { '<leader>ax', '<cmd>AvanteClear<cr>', mode = 'n', desc = 'avante: clear chat' },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue