Conversation
8bd7915 to
e8ded67
Compare
e8ded67 to
98fe444
Compare
98fe444 to
b62d5d4
Compare
b62d5d4 to
14ff965
Compare
14ff965 to
ef22972
Compare
ef22972 to
67b2c1e
Compare
67b2c1e to
dde6e53
Compare
dde6e53 to
e9717d6
Compare
e9717d6 to
f891d52
Compare
f891d52 to
c706e22
Compare
c706e22 to
cda41d6
Compare
cda41d6 to
8920203
Compare
e193864 to
85451cf
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Free Tier Details
Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
src/resources/completions.ts
Outdated
| * `logprobs` is also provided, log probability information is provided on the | ||
| * prompt. | ||
| */ | ||
| prompt: Array<Completion.Prompt>; |
There was a problem hiding this comment.
Conditional prompt field incorrectly marked as required
Medium Severity
The prompt field on Completion was changed from optional (prompt?) to required (prompt), but the docstring states "When echo is true, the prompt is included in the response." Since this field is only populated when echo is enabled, marking it as required misleads TypeScript users into assuming it's always present — leading to potential runtime TypeError when accessing completion.prompt without echo: true.
85451cf to
ef67ce3
Compare
ef67ce3 to
54abcc5
Compare
54abcc5 to
2ff568e
Compare
2ff568e to
8931cef
Compare
8931cef to
6111da5
Compare
6111da5 to
6e7a775
Compare
6e7a775 to
dc6eb18
Compare
dc6eb18 to
360eeda
Compare
360eeda to
1054eeb
Compare
1054eeb to
66bdf7e
Compare


Automated Release PR
0.38.0 (2026-03-18)
Full Changelog: v0.37.0...v0.38.0
Features
Bug Fixes
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions