Module: OC::OLLAMA::CHAT::TOOLS

Defined in:
lib/ollama_chat/oc.rb

Defined Under Namespace

Modules: JIRA

Constant Summary collapse

TEST_RUNNER =

Run Tests tool configuration

set do
  description 'Configured test runner for run_tests tool function'
  default     'rspec'
  required     true
end
PIRATEWEATHER_API_KEY =
set do
  description 'Pirate Weather API key'
end
CTAGS_TOOL =
set do
  description 'Tools ctags path'
  default { `which ctags`.full?(:chomp) }
  check   { value.blank? || File.exist?(value) }
end
TAGS_FILE =
set do
  description 'Tag file location'
  default     './tags'
  decode       { Pathname.new(_1).expand_path }
end
PATCH_TOOL =
set do
  description 'Patch tool to use'

  default { `which patch`.full?(:chomp) }
  check   { value.blank? || File.exist?(value) }
end