Class: Mistri::Models::Model

Inherits:
Data
  • Object
show all
Defined in:
lib/mistri/models.rb

Overview

thinking is how the model accepts a reasoning request: :adaptive (the model decides), :budget (a token budget), or :effort. It is what keeps a provider from sending an unsupported thinking shape that 400s.

Instance Attribute Summary collapse

Instance Attribute Details

#context_windowObject (readonly)

Returns the value of attribute context_window

Returns:

  • (Object)

    the current value of context_window



12
13
14
# File 'lib/mistri/models.rb', line 12

def context_window
  @context_window
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



12
13
14
# File 'lib/mistri/models.rb', line 12

def id
  @id
end

#max_outputObject (readonly)

Returns the value of attribute max_output

Returns:

  • (Object)

    the current value of max_output



12
13
14
# File 'lib/mistri/models.rb', line 12

def max_output
  @max_output
end

#providerObject (readonly)

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



12
13
14
# File 'lib/mistri/models.rb', line 12

def provider
  @provider
end

#thinkingObject (readonly)

Returns the value of attribute thinking

Returns:

  • (Object)

    the current value of thinking



12
13
14
# File 'lib/mistri/models.rb', line 12

def thinking
  @thinking
end