agentscope-ai / agentscope-ai/agentscope-runtime

[Feature] Support path parameters in AgentApp endpoint_path

Đang mở
#313 2 bình luận 0 reaction 1 người được giao Được @zzhangpurdue nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
863
Fork
168
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem Description
Currently, when using the `endpoint_path` specified in `AgentApp`, it does not support variables/placeholders. Could this feature be supported? For example:

```python
endpoint_path = "/agent/{agent_id}/chat"
```

Then, in the `query_func` method, we should be able to retrieve this agent_id parameter.

## Proposed Solution
[Clear description of what you want to happen]

## Affected Component(s)
- [x] Engine
- [ ] Sandbox
- [ ] Common
- [ ] Tools
- [ ] Documentation
- [ ] Other: ___________

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.