Repository navigation
DashScope Python SDK v2.1.3: AgentStudio Dynamic Workflows, a Slimmer Core, and a More Robust CLI #253
luk384090-cloud
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
DashScope Python SDK v2.1.3: AgentStudio Dynamic Workflows, a Slimmer Core, and a More Robust CLI
v2.1.3 of the DashScope Python SDK is out. This release adds full lifecycle management for AgentStudio dynamic workflows, trims the core install by moving RL server dependencies into an optional extra, and makes the CLI work even when
clickis not installed.🚀 Highlights
dynamic_workflowsresource (sync and async) for managing dynamic workflows and their versions, plus extended agent configuration support. (feat(agentstudio): add dynamic workflow APIs and agent configuration #251)fastapi,uvicorn,opentelemetry-sdk) moved out of the core package into the newagentic-rlextra. Inference-only users get a smaller dependency tree. (refactor(deps): move RL server/observability deps to agentic-rl extra #250)click— the CLI no longer fails to import or produce output whenclickis not installed. (fix(cli): enable CLI import and output without real click installed #252)✨ Features
client.dynamic_workflowsresource with full lifecycle management:create,retrieve,update,archive, andlistwith cursor-based pagination.list_versions(paginated) andretrieve_versionfor inspecting workflow history.DynamicWorkflowand related types) exported fromdashscope.applications.agentstudio.AsyncDynamicWorkflows, including async cursor pages.🐛 Bug fixes
click(fix(cli): enable CLI import and output without real click installed #252)dashscope/cli/errors.pynow importsclickconditionally and defines exception classes gracefully when it is absent, preventingModuleNotFoundErroron CLI import.dashscope/cli/output.pyswitched fromclick.echototyper.echo, so JSON, NDJSON, and YAML outputs are emitted consistently.clickimports in subprocesses.♻️ Refactoring
fastapi,uvicorn, andopentelemetry-sdkare only used by the Agentic RL function server and observability, so they are no longer installed with the core package. (refactor(deps): move RL server/observability deps to agentic-rl extra #250)ImportErrorwith install guidance when the extra is missing; OpenTelemetry tracing degrades gracefully without it.pip install dashscope[agentic-rl].None — but if you run the Agentic RL function server, install the extra explicitly:
pip install "dashscope[agentic-rl]"A clear
ImportErrorwith guidance is raised if it is missing.📦 Installation
Standalone CLI binaries and per-platform
SHA256SUMSare also attached to the release assets.👥 Contributors
Thanks to everyone who made this release possible: @coolsky99, @lzsweb, @luk384090-cloud
📝 Full changelog
See the complete diff: v2.1.2...v2.1.3
Try the new dynamic workflow APIs and let us know how they fit your AgentStudio use cases — feedback here directly shapes what we build next.
All reactions