f808abff86
Fix JSON syntax errors in .devcontainer/devcontainer.json (removed
invalid JS-style // comments) and .devcontainer/opencode.json (removed
90+ trailing commas). Apply auto-fixes for end-of-file and trailing
whitespace issues across 100+ files. Fix SIM105 ruff violations in
benchmarks/core_circuit_breaker_bench.py (use contextlib.suppress).
Note: The security fix from issue #7478 (validate_path startswith bypass)
was already delivered to master in commit e18ac5f2. This PR as currently
structured is non-atomic (35 commits across 10+ issues) and needs
significant restructure before merge. This commit only addresses the
CI/pre-commit failures.
ISSUES CLOSED: #7478
38 lines
868 B
YAML
38 lines
868 B
YAML
# Basic Reactive Chat Configuration - Actor-First Version
|
|
# Simple conversational agent using actors instead of provider/model
|
|
|
|
agents:
|
|
chat_agent:
|
|
type: llm
|
|
config:
|
|
# Use actor instead of provider/model
|
|
actor: openai/gpt-4
|
|
temperature: 0.8
|
|
system_prompt: |
|
|
You are a helpful and friendly AI assistant.
|
|
Respond naturally and conversationally.
|
|
|
|
# Unified routes section with actor-first approach
|
|
routes:
|
|
# Main chat processing route
|
|
chat_stream:
|
|
type: stream
|
|
stream_type: cold
|
|
operators:
|
|
- type: map
|
|
params:
|
|
agent: chat_agent
|
|
publications:
|
|
- __output__
|
|
|
|
# Simple flow: input -> chat -> output
|
|
merges:
|
|
- sources: [__input__]
|
|
target: chat_stream
|
|
|
|
context:
|
|
global:
|
|
conversation_mode: true
|
|
# Actor-specific context variables
|
|
default_actor: openai/gpt-4
|