Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agentplatform/_genai/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,7 @@ def update(

# Step 1: Update the dataset resource for the prompt and wait for the operation to complete.
updated_dataset_resource = self._update_dataset_resource(
name=f"projects/{self._api_client.project}/locations/{self._api_client.location}",
name=f"projects/{self._api_client.project}/locations/{self._api_client.location}/datasets/{prompt_id}",
dataset_id=prompt_id,
display_name=(
config.prompt_display_name
Expand Down Expand Up @@ -3709,7 +3709,7 @@ async def update(

# Step 1: Update the dataset resource for the prompt and wait for the operation to complete.
updated_dataset_resource = await self._update_dataset_resource(
name=f"projects/{self._api_client.project}/locations/{self._api_client.location}",
name=f"projects/{self._api_client.project}/locations/{self._api_client.location}/datasets/{prompt_id}",
dataset_id=prompt_id,
display_name=(
config.prompt_display_name
Expand Down
Loading