Repository navigation
v1.27.5
✨ Features
Agent Studio
- Deployment environment variables: configure environment variables for deployed agents
- Tool approval workflow: explicit approval for tool execution
- Event deltas: incremental updates for session events
- Session resources & threads: manage resources and conversation threads within sessions
- Message accessors: convenient getters for message content
- Security enhancements: input validation and sanitization
acli (Agentic CLI v0.6.5)
- Tongyi native DashScope route: direct routing to DashScope backend without proxy layer
- Expert guide surfaces: contextual help and guidance for complex operations
- Provider/key wizards: improved UX for provider configuration, no longer dead-ends on stale providers
Models
- Omni (video): support video compactness parameter for optimized video generation
- ASR (speech recognition): support updating
input.contextviacontinue-taskfor streaming recognition
Region Support
- Multi-region endpoint: route requests to specific DashScope regions (Beijing, Singapore, etc.)
- Workspace support: associate workspaces with specific regions
- Region-specific API keys: note that API keys are region-bound
- Documentation: added region-specific notes about WebSocket endpoints (Beijing/Singapore only) and regional API key requirements
- Example: added
set_regionexample demonstrating regional switching
Build & Dependencies
- Python >=3.9: minimum Python version raised from 3.8
- acli extras: capped below breaking major versions (e.g.,
openai<2.0,anthropic<1.0)
🐛 Bug Fixes
Security
- Hostname injection prevention: validate
workspace_idandregionparameters to prevent malicious hostname injection attacks
acli
- CLI extras name: fixed registration warning to use correct extras name for RL dependencies
Agent Studio
- Stream stop-set: removed
RESCHEDULINGfrom terminal states to allow stream continuation after rescheduling events
🧪 Testing
- CI matrix: trimmed to Python 3.9, 3.12, 3.13 (dropped 3.10, 3.11 from matrix)
- Pylint directives: deduped after merging parallel CI fixes
- Regression test: added test for RESCHEDULING stream behavior
📝 Documentation
- Region notes: documented region-specific API key requirements and WebSocket endpoint availability
- set_region example: added comprehensive example for multi-region usage
👥 Contributors
- @foleydang — Agent Studio features (tool approval, event deltas, session resources), stream RESCHEDULING fix
- @luk384090-cloud — Security fixes, region support, multi-region examples, style updates
- @lzsweb — acli tongyi native route, expert guide surfaces
- @songguocola — Omni video compactness support, ASR context update feature
Full Changelog: v1.27.4...v1.27.5
Upgrade: pip install --upgrade dashscope