Update api/extension-guides/language-model.md
Co-authored-by: Nick Trogh <1908215+ntrogh@users.noreply.github.com>
This commit is contained in:
Родитель
a387902b36
Коммит
0f65d8ffa3
|
@ -196,7 +196,7 @@ Extension authors can choose which model is the most appropriate for their exten
|
||||||
```typescript
|
```typescript
|
||||||
const allModels = await vscode.lm.selectChatModels(MODEL_SELECTOR);
|
const allModels = await vscode.lm.selectChatModels(MODEL_SELECTOR);
|
||||||
```
|
```
|
||||||
> **Note**: All models have the limit of `4K` tokens. The returned model object from `selectChatModels` call has the attribute `maxInputTokens` that shows the token limit. These limits will be expanded as we learn more how extensions are using the language models.
|
> **Note**: All models have a limit of `4K` tokens. The returned model object from the `selectChatModels` call has a `maxInputTokens` attribute that shows the token limit. These limits will be expanded as we learn more about how extensions are using the language models.
|
||||||
|
|
||||||
### Rate limiting
|
### Rate limiting
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче