mirror of
https://github.com/katanemo/plano.git
synced 2026-06-05 14:45:15 +02:00
add default agent schema enforcement (#702)
This commit is contained in:
parent
da5cbc29b7
commit
43bdd0bfcf
2 changed files with 26 additions and 6 deletions
|
|
@ -102,13 +102,13 @@ listeners:
|
|||
type: agent
|
||||
router: plano_orchestrator_v1
|
||||
agents:
|
||||
- name: simple_tmobile_rag_agent
|
||||
- id: simple_tmobile_rag_agent
|
||||
description: t-mobile virtual assistant for device contracts.
|
||||
filter_chain:
|
||||
- query_rewriter
|
||||
- context_builder
|
||||
- response_generator
|
||||
- name: research_agent
|
||||
- id: research_agent
|
||||
description: agent to research and gather information from various sources.
|
||||
filter_chain:
|
||||
- research_agent
|
||||
|
|
@ -117,11 +117,11 @@ listeners:
|
|||
|
||||
- name: llm_provider
|
||||
type: model
|
||||
description: llm provider configuration
|
||||
port: 12000
|
||||
llm_providers:
|
||||
- access_key: ${OPENAI_API_KEY}
|
||||
model: openai/gpt-4o
|
||||
|
||||
model_providers:
|
||||
- access_key: ${OPENAI_API_KEY}
|
||||
model: openai/gpt-4o
|
||||
"""
|
||||
arch_config_schema = ""
|
||||
with open("../config/arch_config_schema.yaml", "r") as file:
|
||||
|
|
|
|||
|
|
@ -72,6 +72,26 @@ properties:
|
|||
- model
|
||||
- prompt
|
||||
- agent
|
||||
agents:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
default:
|
||||
type: boolean
|
||||
filter_chain:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
additionalProperties: false
|
||||
required:
|
||||
- id
|
||||
- description
|
||||
additionalProperties: false
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue