Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# Example agents configuration for YAML-based loading
|
|
# Two types of variable substitution:
|
|
# 1. ${ENV_VAR} - from system environment variables
|
|
# 2. ${vars.KEY} - from the 'vars' section in this YAML file
|
|
|
|
vars: # Internal variables (file-level)
|
|
DEFAULT_TEMPERATURE: 0.1
|
|
OPENAI_URL: https://api.openai.com/v1
|
|
OPENROUTER_URL: https://openrouter.ai/api/v1
|
|
|
|
agents:
|
|
researcher:
|
|
system_prompt: "You specialize at researching."
|
|
llm_config:
|
|
llm_provider: openai
|
|
llm_model_name: gpt-4o
|
|
llm_api_key: ${OPENAI_API_KEY} # from system env
|
|
llm_base_url: ${vars.OPENAI_URL} # from vars section
|
|
llm_temperature: ${vars.DEFAULT_TEMPERATURE} # from vars section
|
|
|
|
summarizer:
|
|
system_prompt: "You specialize at summarizing."
|
|
llm_config:
|
|
llm_provider: openai
|
|
llm_model_name: gpt-5
|
|
llm_api_key: ${OPENROUTER_API_KEY} # from system env
|
|
llm_base_url: ${vars.OPENROUTER_URL} # from vars section
|
|
llm_temperature: ${vars.DEFAULT_TEMPERATURE} # from vars section
|
|
|
|
|
|
swarm:
|
|
type: workflow
|
|
order: [researcher, summarizer]
|
|
|