agentscope-ai / agentscope-ai/agentscope-runtime

[Feature] Support path parameters in AgentApp endpoint_path

Aperta
#313 2 commenti 0 reazioni 1 assegnatario Rivendicata da @zzhangpurdue Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
863
Fork
168
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 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: ___________

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.