Class: AIA::Mods

Inherits:
Tools show all
Includes:
BackendCommon
Defined in:
lib/aia/tools/mods.rb

Constant Summary collapse

DEFAULT_PARAMETERS =
[
  # "--no-cache",           # do not save prompt and response
  "--no-limit",             # no limit on input context
  "--quiet",                # Quiet mode (hide the spinner while loading and stderr messages for success).
].join(' ').freeze
DIRECTIVES =
%w[
  api
  ask-model
  continue
  continue-last
  fanciness
  format-as
  http-proxy
  max-retries
  max-retries
  max-tokens
  max-tokens 
  model
  no-cache
  no-limit  
  prompt
  prompt-args
  quiet
  raw
  status-text
  temp
  title
  topp
  word-wrap
]

Instance Attribute Summary

Attributes included from BackendCommon

#command, #files, #parameters, #text

Method Summary

Methods included from BackendCommon

#build_command, #initialize, #run, #sanitize, #set_parameter_from_directives

Methods inherited from Tools

catalog, get_meta, inherited, load_tools, #meta, meta, search_for, setup_backend, validate_tools