Repository navigation
v2.1.3 Release Notes
π Highlights
- AgentStudio Dynamic Workflows β a brand-new
dynamic_workflowsresource (sync and async) for managing dynamic workflows and their versions, plus extended agent configuration support. - Slimmer core install β RL server/observability dependencies (
fastapi,uvicorn,opentelemetry-sdk) moved out of the core package into the newagentic-rlextra. - CLI works without
clickβ the CLI no longer fails to import or produce output whenclickis not installed.
β¨ Features
- agentstudio: dynamic workflow APIs and agent configuration (#251)
- New
client.dynamic_workflowsresource with full lifecycle management:create,retrieve,update,archive, andlistwith cursor-based pagination. - Version management APIs:
list_versions(paginated) andretrieve_versionfor inspecting workflow history. - Fully typed request params and response models (
DynamicWorkflowand related types) exported fromdashscope.applications.agentstudio. - Async parity via
AsyncDynamicWorkflows, including async cursor pages. - Extended agent configuration options in the AgentStudio models.
- English and Chinese reference documentation updated with usage examples.
- New
β»οΈ Refactoring
- deps: move RL server/observability deps to the
agentic-rlextra (#250)fastapi,uvicornandopentelemetry-sdkare only used by the Agentic RL function server and observability; they are no longer installed with the core package.- Inference-only users get a smaller dependency tree with fewer resolution conflicts in locked environments.
- Install the server dependencies explicitly when needed:
pip install dashscope[agentic-rl]. - The RL function server raises a clear
ImportErrorwith install guidance when the extra is missing; OpenTelemetry tracing degrades gracefully without it. - README (EN/ZH), docs index and Agentic RL reference pages updated to document the extra.
π Bug Fixes
- cli: enable CLI import and output without real
clickinstalled (#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 without wrapping issues.- Added regression tests that simulate a click-less environment by blocking
clickimports in subprocesses, verifying CLI modules load and operate correctly.
π Documentation
- AgentStudio reference (EN/ZH): dynamic workflow usage and agent configuration examples.
- Agentic RL reference and docs index (EN/ZH):
agentic-rlextra installation instructions. - README / README_zh: updated install guidance for the slimmer core package.
π§ CI & Chore
- version: bump version to 2.1.3.
- agentstudio: test coverage for dynamic workflows.
- style: satisfy black formatting for the RL server import guard.
- cli: trailing newline fix in
test_clickless_import.py.
β οΈ Breaking Changes
None.
Note: users running the Agentic RL function server must now install the extra explicitly (
pip install dashscope[agentic-rl]); a clearImportErrorwith guidance is raised if it is missing.
π¦ Installation
pip install --upgrade dashscope==2.1.3
# Optional: Agentic RL function server & observability dependencies
pip install --upgrade "dashscope[agentic-rl]==2.1.3"π₯ Contributors
Thanks to all the contributors who made this release possible: