Skip to content

Add DataSource parameter for artifacts endpoints#18

Open
sciapanCA wants to merge 2 commits into
mainfrom
feature/data-source-ambiguity
Open

Add DataSource parameter for artifacts endpoints#18
sciapanCA wants to merge 2 commits into
mainfrom
feature/data-source-ambiguity

Conversation

@sciapanCA

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

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 data_source parameter to the get_artifact_relationships and fetch_artifacts tools to help disambiguate identifiers belonging to multiple data sources. It also updates the response transformer to preserve and surface data source identities, adds 409 error handling with candidate listings, and includes comprehensive tests. The review feedback suggests defensively stripping and normalizing the data_source input in both tools to prevent potential API errors and confusing hint messages when empty or whitespace-only strings are provided.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/tools/fetch_artifacts.py
Comment thread src/tools/artifact_relationships.py
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