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. |
395
+
| model | Main (review + guide) | 🟢 Optional | AI model to use. Defaults to `gemini-2.5-flash` if not set. |
397
396
| model_url | Main (review + guide) | 🟡 Conditionally required | Only needed for custom/local models. |
398
397
| exclude | Main (review + guide) | 🟢 Optional | File patterns to exclude from review. |
399
398
| publish | Main (review + guide) | 🟢 Optional | If true, posts review as comments. Default: false. |
@@ -419,7 +418,7 @@ When it comes to preference for selecting options, lgtm follows this preference
419
418
420
419
These options apply to both reviews and guides generated by lgtm.
421
420
422
-
- **model**: Choose which AI model you want lgtm to use. If not set, defaults to `gemini-2.0-flash`.
421
+
- **model**: Choose which AI model you want lgtm to use. If not set, defaults to `gemini-2.5-flash`.
423
422
- **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
423
- **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
424
- **publish**: If `true`, lgtm will post the review as comments on the PR page. Default is `false`.
0 commit comments