agentscope-ai / agentscope-ai/agentscope-runtime

[Feature] Support path parameters in AgentApp endpoint_path

Aberta
#313 2 comentários 0 reações 1 responsável Reivindicada por @zzhangpurdue Ver no GitHub
enhancement
Linguagem predominante
Python
Estrelas
863
Forks
168
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.