e03fd2956d
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 18s
CI / lint (pull_request) Failing after 18s
CI / helm (pull_request) Successful in 24s
CI / typecheck (pull_request) Failing after 52s
CI / security (pull_request) Failing after 53s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / unit_tests (pull_request) Failing after 1m48s
CI / docker (pull_request) Has been skipped
CI / quality (pull_request) Successful in 3m42s
CI / e2e_tests (pull_request) Failing after 13m56s
CI / integration_tests (pull_request) Failing after 21m12s
CI / status-check (pull_request) Failing after 2s
Add missing provider: field to all actor examples in examples/actors/. Fix llm_with_tools.yaml actor name from assistants/file_analyzer to local/assistants-file_analyzer (custom actors must use local/ namespace and cannot contain two slashes). Add validate-all command to helper_actor_examples.py that uses ActorLoader to validate all examples via business logic checks. Add integration test Validate All Actor Examples Import Without Errors to actor_examples.robot that confirms every example in examples/actors/ can be imported without errors. ISSUES CLOSED: #1504
40 lines
939 B
YAML
40 lines
939 B
YAML
# Simple LLM Actor Example
|
|
# Demonstrates the most basic actor configuration with just an LLM and system prompt
|
|
|
|
name: assistants/code_reviewer
|
|
type: llm
|
|
description: Reviews Python code for best practices, style, and potential bugs
|
|
version: "1.0"
|
|
|
|
# LLM configuration
|
|
provider: openai
|
|
model: gpt-4
|
|
system_prompt: |
|
|
You are an expert Python code reviewer. Review code for:
|
|
- PEP 8 style compliance
|
|
- Best practices and design patterns
|
|
- Potential bugs and edge cases
|
|
- Performance considerations
|
|
- Security vulnerabilities
|
|
|
|
Provide constructive feedback with specific suggestions for improvement.
|
|
|
|
# Context and memory settings
|
|
context_view: reviewer
|
|
memory:
|
|
enabled: true
|
|
max_messages: 20
|
|
max_tokens: 4000
|
|
|
|
context:
|
|
include_files:
|
|
- "README.md"
|
|
- "pyproject.toml"
|
|
include_dirs:
|
|
- "src/"
|
|
exclude_patterns:
|
|
- "**/__pycache__/**"
|
|
- "*.pyc"
|
|
- "**/.pytest_cache/**"
|
|
max_context_tokens: 8000
|