diff --git a/extension.js b/extension.js index 366328b..8a9c867 100644 --- a/extension.js +++ b/extension.js @@ -114,7 +114,7 @@ const openGPTContextPanelCommand = vscode.commands.registerCommand('extension.op // Call OpenAI API with the question and file contents try { const chatCompletion = await openai.createChatCompletion({ - model: "gpt-3.5-turbo", + model: "gpt-3.5-turbo-16k", messages: [ { role: "system", content: "Answer the coding questions, only provide the code and documentation, explaining the solution after providing the code." }, { role: "user", content: question }, diff --git a/images/gpt-icon.jpg b/images/gpt-icon.jpg new file mode 100644 index 0000000..ca4f93c Binary files /dev/null and b/images/gpt-icon.jpg differ diff --git a/package.json b/package.json index f4ee1b0..578029d 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,15 @@ "group": "navigation" } ] + }, + "views": { + "explorer": [ + { + "id": "selectedFiles", + "name": "Selected Files", + "when": "explorerResourceIsFolder && explorerViewletVisible" + } + ] } }, "scripts": { @@ -62,5 +71,11 @@ }, "dependencies": { "openai": "^3.3.0" - } + }, + "repository": { + "type": "git", + "url": "https://github.com/Iheuzio/gpt-contextfiles/" + }, + "icon": "images/gpt-icon.jpg", + "publisher": "Iheuzio" }