Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding o1 model and updating endpoint usage #64

Merged
merged 4 commits into from
Dec 22, 2024
Merged

Adding o1 model and updating endpoint usage #64

merged 4 commits into from
Dec 22, 2024

Conversation

appatalks
Copy link
Owner

This pull request includes several changes to the core/js/gpt-core.js, core/js/options.js, and index.html files. The changes primarily focus on updating token-related parameters and adding support for a new model.

Updates to token parameters:

  • core/js/gpt-core.js: Changed max_tokens to max_completion_tokens in multiple instances to better reflect the intended parameter usage. [1] [2] [3]

Model and message role updates:

  • core/js/gpt-core.js: Updated the initial message role from 'system' to 'developer' to better align with the context of the messages.
  • core/js/options.js: Added support for the new model o1 in various functions to ensure it is correctly handled. [1] [2] [3]
  • index.html: Added the new model o1 to the dropdown options in the HTML file.

@appatalks appatalks merged commit 8cbae59 into main Dec 22, 2024
4 checks passed
@appatalks appatalks deleted the o1-developer branch December 22, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant