You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| model | Main (review + guide) | 🟢 Optional | AI model to use. Defaults to `gemini-2.0-flash` if not set. |
396
+
| model | Main (review + guide) | 🟢 Optional | AI model to use. Defaults to `gemini-2.5-flash` if not set. |
397
397
| model_url | Main (review + guide) | 🟡 Conditionally required | Only needed for custom/local models. |
398
398
| exclude | Main (review + guide) | 🟢 Optional | File patterns to exclude from review. |
399
399
| publish | Main (review + guide) | 🟢 Optional | If true, posts review as comments. Default: false. |
@@ -419,7 +419,7 @@ When it comes to preference for selecting options, lgtm follows this preference
419
419
420
420
These options apply to both reviews and guides generated by lgtm.
421
421
422
-
- **model**: Choose which AI model you want lgtm to use. If not set, defaults to `gemini-2.0-flash`.
422
+
- **model**: Choose which AI model you want lgtm to use. If not set, defaults to `gemini-2.5-flash`.
423
423
- **model_url**: When not using one of the specific supported models from the providers mentioned above, you can pass a custom URL where the model is deployed (e.g., for local/hosted models).
424
424
- **exclude**: Instruct lgtm to ignore certain files. This is important to reduce noise in reviews, but also to reduce the amount of tokens used for each review (and to avoid running into token limits). You can specify file patterns (e.g., `exclude = ["*.md", "package-lock.json"]`).
425
425
- **publish**: If `true`, lgtm will post the review as comments on the PR page. Default is `false`.
0 commit comments