Skip to content

Update vertex.mdx#763

Open
saifulazad wants to merge 1 commit into
usestrix:mainfrom
saifulazad:patch-2
Open

Update vertex.mdx#763
saifulazad wants to merge 1 commit into
usestrix:mainfrom
saifulazad:patch-2

Conversation

@saifulazad

Copy link
Copy Markdown

No description provided.

@greptile-apps

greptile-apps Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates the Vertex AI provider documentation prerequisite. The main changes are:

  • Adds the Google Cloud IAM role ID for Vertex AI access.
  • Changes the displayed role name in the setup step.

Confidence Score: 4/5

This is close, but the role name should be corrected before merging.

  • The role ID is useful and points users toward the right permission set.
  • The displayed role name can still make IAM role search fail for users following the doc.

docs/llm-providers/vertex.mdx

Important Files Changed

Filename Overview
docs/llm-providers/vertex.mdx Updates the Vertex AI prerequisite role text and adds the IAM role ID.
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
docs/llm-providers/vertex.mdx:53
**Use Vertex role name** The role ID `roles/aiplatform.user` is correct, but the display name shown here can send users to the wrong IAM search term. In the Vertex AI setup flow, users searching by role name need `Vertex AI User`; searching for `Agent Platform User` can return no matching role even though the ID points to the right permission set.

```suggestion
2. Ensure your account has the `Vertex AI User` role (`roles/aiplatform.user`)
```

Reviews (2): Last reviewed commit: "Update vertex.mdx" | Re-trigger Greptile


1. Enable the Vertex AI API in your Google Cloud project
2. Ensure your account has the `Vertex AI User` role
2. Ensure your account has the `Agent Platform User` role (`roles/aiplatform.user`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Vertex Role Name Mismatch

This page is for the Vertex AI provider, but the prerequisite now leads with Agent Platform User. A user searching IAM by that display name during Vertex AI setup may miss the expected Vertex AI User role and choose a broader role instead, even though the role ID is correct.

Suggested change
2. Ensure your account has the `Agent Platform User` role (`roles/aiplatform.user`)
2. Ensure your account has the `Vertex AI User` role (`roles/aiplatform.user`)
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/vertex.mdx
Line: 53

Comment:
**Vertex Role Name Mismatch**

This page is for the Vertex AI provider, but the prerequisite now leads with `Agent Platform User`. A user searching IAM by that display name during Vertex AI setup may miss the expected `Vertex AI User` role and choose a broader role instead, even though the role ID is correct.

```suggestion
2. Ensure your account has the `Vertex AI User` role (`roles/aiplatform.user`)
```

How can I resolve this? If you propose a fix, please make it concise.

@saifulazad

Copy link
Copy Markdown
Author

@greptile-apps


1. Enable the Vertex AI API in your Google Cloud project
2. Ensure your account has the `Vertex AI User` role
2. Ensure your account has the `Agent Platform User` role (`roles/aiplatform.user`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Use Vertex role name The role ID roles/aiplatform.user is correct, but the display name shown here can send users to the wrong IAM search term. In the Vertex AI setup flow, users searching by role name need Vertex AI User; searching for Agent Platform User can return no matching role even though the ID points to the right permission set.

Suggested change
2. Ensure your account has the `Agent Platform User` role (`roles/aiplatform.user`)
2. Ensure your account has the `Vertex AI User` role (`roles/aiplatform.user`)
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/vertex.mdx
Line: 53

Comment:
**Use Vertex role name** The role ID `roles/aiplatform.user` is correct, but the display name shown here can send users to the wrong IAM search term. In the Vertex AI setup flow, users searching by role name need `Vertex AI User`; searching for `Agent Platform User` can return no matching role even though the ID points to the right permission set.

```suggestion
2. Ensure your account has the `Vertex AI User` role (`roles/aiplatform.user`)
```

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant