Skip to content

feat(ai): add Prompt variables and Skill download support, align with Java SDK, update version to 3.2.0#322

Merged
Sunrisea merged 2 commits into
nacos-group:masterfrom
Sunrisea:feat/ai-prompt-skill-support
Apr 27, 2026
Merged

feat(ai): add Prompt variables and Skill download support, align with Java SDK, update version to 3.2.0#322
Sunrisea merged 2 commits into
nacos-group:masterfrom
Sunrisea:feat/ai-prompt-skill-support

Conversation

@Sunrisea
Copy link
Copy Markdown
Member

  • Add PromptVariable model with defaultValue support
  • Enhance Prompt.render() to merge default values from variables
  • Add Skill download module (model, util, HTTP endpoint)
  • Add HTTP variables parsing in AiHttpClientProxy
  • Add Client-Version/User-Agent headers to HTTP requests
  • Change RpcClient.start() to not throw on gRPC connect failure
  • Normalize context_path handling with build_context_prefix()
  • Unify exception types to NacosException in skill download
  • Bump version to 3.2.0
  • Update README/README_CN with Prompt and Skill documentation
  • Add 32 unit tests for Prompt variables and Skill utilities

… Java SDK

- Add PromptVariable model with defaultValue support
- Enhance Prompt.render() to merge default values from variables
- Add Skill download module (model, util, HTTP endpoint)
- Add HTTP variables parsing in AiHttpClientProxy
- Add Client-Version/User-Agent headers to HTTP requests
- Change RpcClient.start() to not throw on gRPC connect failure
- Normalize context_path handling with build_context_prefix()
- Unify exception types to NacosException in skill download
- Bump version to 3.2.0
- Update README/README_CN with Prompt and Skill documentation
- Add 32 unit tests for Prompt variables and Skill utilities
@Sunrisea Sunrisea merged commit 26e1f57 into nacos-group:master Apr 27, 2026
6 checks passed
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