Skip to content

Commit a5c2da3

Browse files
gitmahinLMaxence
andauthored
fix/type-issue (#760)
Object literal may only specify known properties, and 'maxTokenCount' does not exist in type 'MaxTokensOptions'.ts(2353) (property) maxTokenCount: number It should be n:1000 instead of maxTokenCount Signed-off-by: pr0grammerMahin <141026311+gitmahin@users.noreply.github.com> Signed-off-by: Maxence Lecanu <maxence@escape.tech> Co-authored-by: Maxence Lecanu <maxence@escape.tech>
1 parent d214033 commit a5c2da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/docs/docs/plugins/max-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const getEnveloped = envelop({
7171
plugins: [
7272
// ... other plugins ...
7373
maxTokensPlugin({
74-
maxTokenCount: 1000,
74+
n: 1000,
7575
}),
7676
]
7777
});

0 commit comments

Comments
 (0)