mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
address pr feedback
This commit is contained in:
parent
b3a19b1df0
commit
e498b41e5b
9 changed files with 13 additions and 17 deletions
|
|
@ -32,9 +32,9 @@ properties:
|
|||
type:
|
||||
type: string
|
||||
enum:
|
||||
- model_listener
|
||||
- prompt_listener
|
||||
- agent_listener
|
||||
- model
|
||||
- prompt
|
||||
- agent
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ def convert_legacy_listeners(
|
|||
"address": "0.0.0.0",
|
||||
"timeout": "30s",
|
||||
"model_providers": model_providers or [],
|
||||
"protocol": "openai",
|
||||
}
|
||||
|
||||
prompt_gateway_listener = {
|
||||
|
|
@ -56,7 +55,6 @@ def convert_legacy_listeners(
|
|||
"port": 10000,
|
||||
"address": "0.0.0.0",
|
||||
"timeout": "30s",
|
||||
"protocol": "openai",
|
||||
}
|
||||
|
||||
if isinstance(listeners, dict):
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ agents:
|
|||
|
||||
listeners:
|
||||
- name: tmobile
|
||||
type: agent_listener
|
||||
type: agent
|
||||
router: arch_agent_v2
|
||||
agents:
|
||||
- name: simple_tmobile_rag_agent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue