Skip to content

Feature/runtime#6

Merged
Zhiyue-Wang merged 26 commits into
mainfrom
feature/runtime
May 7, 2026
Merged

Feature/runtime#6
Zhiyue-Wang merged 26 commits into
mainfrom
feature/runtime

Conversation

@Zhiyue-Wang
Copy link
Copy Markdown
Collaborator

No description provided.

1. Fix contextvars not propagating to sync handlers in run_in_executor
   - Add contextvars.copy_context() to propagate AgentArtsRuntimeContext
   - Add unit tests for context propagation verification
   - Fixes issue where workload_access_token was None in sync handlers

2. Add SDK logging configuration with environment variable support
   - New AGENTARTS_LOG_LEVEL env var (default: INFO)
   - Add setup_logging() and get_logger() utilities
   - Suppress urllib3 and huaweicloudsdkcore warnings
   - Add unit tests for logging configuration
1. Security: Bind to specific IP instead of 0.0.0.0 in Docker
   - Use  to get eth0 IP
   - Support AGENTARTS_BIND_IP env var for manual override
   - Fallback to 0.0.0.0 if IP detection fails
   - Local development still uses 127.0.0.1
SDK Core Clients:
- Change RequestConfig.verify_ssl type from bool to bool | str with default True
- Support three configuration modes: True (verify), False (skip), str (custom CA path)
- Update clients to enable SSL verification by default:
  - ControlToolsHttpClient / DataToolsHttpClient
  - MemoryHttpService
  - MemoryClient
  - _ControlPlane / _DataPlane
  - RuntimeClient
  - MCPGatewayClient

SDK Integration:
- Add verify_ssl parameter to AgentArtsMemorySessionSaver (default: True)
@Zhiyue-Wang Zhiyue-Wang merged commit e771a75 into main May 7, 2026
5 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