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

Update how-to-customize.md #3420

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion docs/docs/edit/how-to-customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,22 @@ You can configure a particular model to be used for Edit using the `inlineEdit`
"inlineEdit": "MODEL_TITLE",
}
}
```
```

Using New OpenAI Models (o1, o1-mini)
When you want to use OpenAI's new models such as o1 or o1-mini, you will need to adjust your config.json file. These new models do not support the old request parameters, which can lead to them being unusable if not properly configured. To ensure compatibility, please modify your config.json as follows:

Original Configuration:
```json title="config.json"
"completionOptions": {
"temperature": 0,
"maTokens": 4096
},
```
Updated Configuration:
```json title="config.json"
"completionOptions": {
"temperature": 1,
"maxCompletionTokens": 4096
},
```