-
Notifications
You must be signed in to change notification settings - Fork 137
feat: Auto inject connected MCPs in UI #1695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary of ChangesHello @tomkis, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new documentation file, Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new file, CLAUDE.md, which seems to contain instructions for an AI on how to file GitHub issues. This change appears to be unrelated to the pull request's title, "feat: Auto inject connected MCPs in UI". Please clarify if this file was added intentionally to this PR. I have provided some feedback on the new file to improve its clarity and correct a typo.
|
Rebase on #1691 when merged. |
| type: Literal["streamable_http"] = "streamable_http" | ||
|
|
||
| url: pydantic.AnyHttpUrl | ||
| url: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that client can provide {platform_url}/foobar like in other url fields.
8a532f4 to
472608b
Compare
|
This is a breaking change due to the fact that MCP client created through the MCP extension may return None if client doesn't provide this. Previously it was throwing an error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to keep all api types and schemas in one file?
| const listConnectors = async () => { | ||
| return await callApi('GET', '/api/v1/connectors', null, listConnectorsResponseSchema); | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering, do we want to keep all API calls in this file? Nothing critical, but I'd consider splitting them by modules.
| export async function listConnectors(): Promise<ListConnectorsResponse | undefined> { | ||
| const response = await api.GET('/api/v1/connectors', {}); | ||
| return ensureData(response); | ||
| return ensureData(response) as ListConnectorsResponse; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using agentstackClient.listConnectors()? Or delete the function altogether and use it directly.
6107b33 to
ac1072b
Compare
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Tomáš Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
Signed-off-by: Tomas Weiss <[email protected]>
9883c70 to
4b1a3f5
Compare
Signed-off-by: Tomas Weiss <[email protected]>
Summary
Linked Issues
Solves #1694, #1542
Documentation
If this PR adds new feature or changes existing. Make sure documentation is adjusted accordingly. If the docs is not needed, please explain why.