Skip to content

Update prompt management skill to match current SDK - #98

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_925569161
Jun 3, 2026
Merged

Update prompt management skill to match current SDK#98
copybara-service[bot] merged 1 commit into
mainfrom
test_925569161

Conversation

@copybara-service

Copy link
Copy Markdown

Update prompt management skill to match current SDK

  • Fix create snippet to use Prompt() constructor and prompts.create_version()
  • Fix get/delete snippets to use numeric prompt ID instead of full resource name
  • Fix assemble() to assemble_contents() matching the actual SDK method
  • Fix list snippet to use p.prompt_id instead of p.name
  • Update eval rubrics for consistency with corrected code

- Fix create snippet to use Prompt() constructor and prompts.create_version()
- Fix get/delete snippets to use numeric prompt ID instead of full resource name
- Fix assemble() to assemble_contents() matching the actual SDK method
- Fix list snippet to use p.prompt_id instead of p.name
- Update eval rubrics for consistency with corrected code

PiperOrigin-RevId: 926191490
@copybara-service
copybara-service Bot merged commit fc6041e into main Jun 3, 2026
@copybara-service
copybara-service Bot deleted the test_925569161 branch June 3, 2026 19:23
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