Christopher-Hayes / vscode-chatgpt-reborn

Refactor, improve, and debug your code in VSCode with GPT-3 and GPT-4.
https://marketplace.visualstudio.com/items?itemName=chris-hayes.chatgpt-reborn
ISC License
207 stars 38 forks source link

Rename Azure API Version setting #86

Open PeterDaveHello opened 1 week ago

PeterDaveHello commented 1 week ago

Related to #80

Rename the setting 'Api Version' to 'Azure API Version' to clarify its purpose.


For more details, open the Copilot Workspace session.

PeterDaveHello commented 1 week ago

Please note that this PR is entirely generated by the GitHub Copilot Workspace based on issue #80 😅 Additional attention may be needed.

Christopher-Hayes commented 1 week ago

Hmm, these changes aren't bad, at the moment API Version is only used by Azure, so specifying azure in the code seems okay, but this doesn't fix #80, the package.json should've been updated to show a different setting label.

PeterDaveHello commented 1 week ago

@Christopher-Hayes you're right, maybe all these files should be updated:

package.json
src/main.ts
src/openai-api-provider.ts
src/renderer/sent-to-backend.ts
src/renderer/types-messages.ts
src/renderer/types.ts
src/renderer/views/api.tsx
PeterDaveHello commented 1 week ago

Update files to use azureApiVersion instead of apiVersion


For more details, open the Copilot Workspace session.