Merge pull request #8 from Iheuzio/fix/id-not-selected

Fix/id not selected
This commit is contained in:
Iheuzio 2023-06-21 21:06:59 -04:00 committed by GitHub
commit c80dc9bda0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View File

@ -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 },

BIN
images/gpt-icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -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"
}