Open PeterDaveHello opened 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.
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.
@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
Update files to use azureApiVersion
instead of apiVersion
chatgpt.apiVersion
with chatgpt.azureApiVersion
in the configuration
section.apiVersion
with azureApiVersion
in the sendSetApiVersion
function.For more details, open the Copilot Workspace session.
Related to #80
Rename the setting 'Api Version' to 'Azure API Version' to clarify its purpose.
src/main.ts
src/renderer/views/api.tsx
src/openai-api-provider.ts
src/renderer/types-messages.ts
For more details, open the Copilot Workspace session.