bb89fbec03
Aplicar los contenidos reales de agent.go, config.yaml y prompts/system.md a los dos agentes creados previamente, usando el nuevo personalize.sh. - wikipedia-bot: tone=professional, prefix=📖, descripcion y system prompt - exchange-bot: tone=professional, prefix=💱, tool_use=true, system prompt Ahora ambos tienen la sección de seguridad anti-injection en su system.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
118 lines
2.6 KiB
YAML
118 lines
2.6 KiB
YAML
agent:
|
|
id: exchange-bot
|
|
name: "Exchange Rate Agent"
|
|
version: "1.0.0"
|
|
enabled: true
|
|
template: false
|
|
description: "Consulta tasas de cambio entre monedas"
|
|
tags: [finance, exchange, currency, rates]
|
|
|
|
# ============================================
|
|
# PERSONALIDAD
|
|
# ============================================
|
|
personality:
|
|
tone: professional
|
|
verbosity: concise
|
|
language: es
|
|
languages_supported: [es, en]
|
|
emoji_style: minimal
|
|
prefix: "💱"
|
|
error_style: helpful
|
|
|
|
role: "Especialista en tipos de cambio y divisas"
|
|
expertise: [currency-exchange, forex, financial-data, international-finance]
|
|
limitations: [no-financial-advice, no-predictions, no-trading-recommendations]
|
|
|
|
communication:
|
|
formality: semiformal
|
|
humor: none
|
|
personality: analytical
|
|
response_style: structured
|
|
|
|
behavior:
|
|
proactive: false
|
|
ask_confirmation: false
|
|
show_reasoning: false
|
|
thread_replies: true
|
|
typing_indicator: true
|
|
|
|
# ============================================
|
|
# LLM
|
|
# ============================================
|
|
llm:
|
|
primary:
|
|
provider: openai
|
|
model: "gpt-4o"
|
|
api_key_env: OPENAI_API_KEY
|
|
max_tokens: 2048
|
|
temperature: 0.3
|
|
|
|
reasoning:
|
|
system_prompt_file: "prompts/system.md"
|
|
context_window: 8192
|
|
memory_messages: 20
|
|
|
|
tool_use:
|
|
enabled: true
|
|
max_iterations: 5
|
|
parallel_calls: false
|
|
|
|
# ============================================
|
|
# TOOLS
|
|
# ============================================
|
|
tools:
|
|
exchange_rate:
|
|
enabled: true
|
|
api_key_env: EXCHANGE_RATE_API_KEY
|
|
timeout: 10s
|
|
|
|
matrix_send:
|
|
allowed_rooms: []
|
|
|
|
# ============================================
|
|
# MATRIX
|
|
# ============================================
|
|
matrix:
|
|
homeserver: "${MATRIX_HOMESERVER}"
|
|
user_id: "@exchange-bot:${MATRIX_SERVER_NAME}"
|
|
access_token_env: MATRIX_TOKEN_EXCHANGE_BOT
|
|
device_id: "DEVICEID"
|
|
|
|
encryption:
|
|
enabled: true
|
|
store_path: "./agents/exchange-bot/data/crypto/"
|
|
pickle_key_env: PICKLE_KEY_EXCHANGE_BOT
|
|
trust_mode: tofu
|
|
recovery_key_env: SSSS_RECOVERY_KEY_EXCHANGE_BOT
|
|
|
|
filters:
|
|
command_prefix: "!"
|
|
mention_respond: true
|
|
dm_respond: true
|
|
ignore_bots: true
|
|
unauthorized_response: silent
|
|
|
|
threads:
|
|
enabled: true
|
|
auto_thread: false
|
|
|
|
# ============================================
|
|
# SEGURIDAD
|
|
# ============================================
|
|
security:
|
|
sanitize:
|
|
enabled: true
|
|
mode: warn
|
|
min_severity: medium
|
|
|
|
tool_rate_limit:
|
|
enabled: true
|
|
max_calls_per_min: 20
|
|
cleanup_interval_s: 60
|
|
|
|
# ============================================
|
|
# STORAGE
|
|
# ============================================
|
|
storage:
|
|
base_path: ""
|