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

Defined in:
lib/ollama_chat/oc.rb

Defined Under Namespace

Modules: IMAGE_GENERATOR, JIRA

Constant Summary collapse

TEST_RUNNER =

Run Tests tool configuration

set do
  description "    Test runner command template. Use %{path} to specify where the test\n    path argument goes; otherwise it is appended at the end.\n  EOT\n\n  default     'rspec'\n  required     true\nend\n"
PIRATEWEATHER_API_KEY =
set do
  description 'Pirate Weather API key'
end
CTAGS_TOOL =
set do
  description 'Tools ctags path'
  default { `which 2>/dev/null 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
GHR_URL =
set do
  description 'Base URL for GHR api server, e. g. https://ghr.example.com'
  sensitive   true
  decode { URI.parse(_1) if _1.present? }
  check { value.blank? || value.scheme =~ /\Ahttps?\z/ }
end
RUBY_EVAL_IMAGE_TEMPLATE =
set do
  description "    Docker image template for ruby, e. g. \"ruby:%{version}-alpine\",\n    version will be substitued with the ruby version requested.'\n  EOT\n  default 'ruby:%{version}-alpine'\n  required true\nend\n"