Module: SkillBench::Config::FacadeReaders
- Included in:
- SkillBench::Config
- Defined in:
- lib/skill_bench/config/facade_readers.rb
Overview
Reader methods exposed by the Config facade.
Instance Method Summary collapse
-
#allowed_commands ⇒ Array<String>?
Returns allowed command list.
-
#api_key ⇒ String?
Returns the API key for the current LLM provider.
-
#base_url ⇒ String?
Returns the base URL for the current LLM provider.
-
#current_llm_provider ⇒ Symbol?
Returns the current LLM provider.
-
#for_provider(provider) ⇒ Hash
Returns configuration for a specific provider.
-
#llm_providers_config ⇒ Hash
Returns provider configuration.
-
#max_execution_time ⇒ Integer?
Returns maximum command execution time.
-
#model ⇒ String?
Returns the model for the current LLM provider.
Instance Method Details
#allowed_commands ⇒ Array<String>?
Returns allowed command list.
24 25 26 |
# File 'lib/skill_bench/config/facade_readers.rb', line 24 def allowed_commands store.allowed_commands end |
#api_key ⇒ String?
Returns the API key for the current LLM provider.
38 39 40 |
# File 'lib/skill_bench/config/facade_readers.rb', line 38 def api_key store.api_key end |
#base_url ⇒ String?
Returns the base URL for the current LLM provider.
52 53 54 |
# File 'lib/skill_bench/config/facade_readers.rb', line 52 def base_url store.base_url end |
#current_llm_provider ⇒ Symbol?
Returns the current LLM provider.
10 11 12 |
# File 'lib/skill_bench/config/facade_readers.rb', line 10 def current_llm_provider store.current_llm_provider end |
#for_provider(provider) ⇒ Hash
Returns configuration for a specific provider.
60 61 62 |
# File 'lib/skill_bench/config/facade_readers.rb', line 60 def for_provider(provider) store.for_provider(provider) end |
#llm_providers_config ⇒ Hash
Returns provider configuration.
31 32 33 |
# File 'lib/skill_bench/config/facade_readers.rb', line 31 def llm_providers_config store.llm_providers_config end |
#max_execution_time ⇒ Integer?
Returns maximum command execution time.
17 18 19 |
# File 'lib/skill_bench/config/facade_readers.rb', line 17 def max_execution_time store.max_execution_time end |
#model ⇒ String?
Returns the model for the current LLM provider.
45 46 47 |
# File 'lib/skill_bench/config/facade_readers.rb', line 45 def model store.model end |