feat(gpt): added chatgpt config for custom prompt
This commit is contained in:
		
							parent
							
								
									4c922760d8
								
							
						
					
					
						commit
						b46c2aa052
					
				| 
						 | 
					@ -2,7 +2,13 @@ return {
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    "jackMort/ChatGPT.nvim",
 | 
					    "jackMort/ChatGPT.nvim",
 | 
				
			||||||
    config = function()
 | 
					    config = function()
 | 
				
			||||||
      require("chatgpt").setup()
 | 
					      require("chatgpt").setup(
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          api_key_cmd = "pass show azure/hypera/oai/token",
 | 
				
			||||||
 | 
					          predefined_chat_gpt_prompts =
 | 
				
			||||||
 | 
					          "https://raw.githubusercontent.com/julianobarbosa/custom-gpt-prompts/main/prompt.csv"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      )
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
    dependencies = {
 | 
					    dependencies = {
 | 
				
			||||||
      "MunifTanjim/nui.nvim",
 | 
					      "MunifTanjim/nui.nvim",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue