Class: SkillBench::Config::Defaults
- Inherits:
-
Object
- Object
- SkillBench::Config::Defaults
- Defined in:
- lib/skill_bench/config/defaults.rb
Overview
Builds the default evaluator configuration state.
Class Method Summary collapse
-
.call ⇒ Hash
Returns the default configuration values.
-
.config ⇒ Hash
Builds the raw default configuration hash.
Class Method Details
.call ⇒ Hash
Returns the default configuration values.
10 11 12 |
# File 'lib/skill_bench/config/defaults.rb', line 10 def self.call { success: true, response: { config: config } } end |
.config ⇒ Hash
Builds the raw default configuration hash.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/skill_bench/config/defaults.rb', line 17 def self.config { current_llm_provider: :openai, max_execution_time: 30, allowed_commands: nil, llm_providers_config: { openai: { api_key: nil, model: 'gpt-4o' }, anthropic: { api_key: nil, model: 'claude-sonnet-4-20250514' }, gemini: { api_key: nil, model: 'gemini-1.5-flash-latest', location: 'us-central1', project_id: nil }, ollama: { api_key: nil, model: 'qwen:7b', base_url: nil }, azure: { api_key: nil, model: 'gpt-4', endpoint: nil, api_version: nil }, groq: { api_key: nil, model: 'llama-3.3-70b-versatile' }, deepseek: { api_key: nil, model: 'deepseek-chat' }, opencode: { api_key: nil, model: 'opencode-model', base_url: nil }, openrouter: { api_key: nil, model: 'anthropic/claude-3.5-sonnet' } } } end |